Create Apache htpasswd entries entirely in your browser. Nothing is sent anywhere.
{SHA} format (SHA-1 + Base64). bcrypt and APR1-MD5 require server-side tooling for proper salting; use htpasswd -B on your server when possible.<Directory "/var/www/private"> AuthType Basic AuthName "Restricted" AuthUserFile /etc/apache2/.htpasswd Require valid-user </Directory>
Type a username and password and click Generate. The tool produces an entry in Apache's {SHA} format which is supported natively by mod_authn_file. Copy the line and add it to your .htpasswd file. For higher security, prefer running htpasswd -B directly on your server to use bcrypt.