About htpasswd files
An htpasswd file stores username:hash pairs used by Apache's auth_basic_user_file and Nginx's auth_basic_user_file directives to protect directories with HTTP Basic Auth. Bcrypt is strongly preferred: it is slow by design, making brute-force attacks impractical. SHA-1 is computed client-side here and is much weaker; avoid it for anything sensitive. Add each generated line to your .htpasswd file, then reference it in your web server config with AuthUserFile /path/to/.htpasswd and Require valid-user (Apache) or auth_basic_user_file /path/to/.htpasswd; (Nginx).