Generates an Apache/nginx htpasswd compatible based hash value.

This tool will help to generate/verify the httpaswd compatabile hash password generated using the alogorithm crypt,APR,SHA-256,SHA-512,bcrypt





Related Tool



Thanks for using this software, for Cofee/Beer/Amazon bill and further development of this project please Share.

Any private key value that you enter or we generate is not stored on this site, this tool is provided via an HTTPS URL to ensure that private keys cannot be stolen, for extra security run this software on your network, no cloud dependency

Asking for donation sound bad to me, so i'm raising fund from by offering all my Nine book for just $9



htpasswd

The command line tool htpasswd is used to create and update the flat-files used to store usernames and password for basic authentication of HTTP users

htpasswd uses Modular Crypt format used when storing passwords in the OpenBSD password file

  • $1$: APR-MD5-based crypt (md5crypt)
  • $2$: Blowfish-based crypt (bcrypt)
  • $sha1$: SHA-1-based crypt (sha1crypt)
  • $5$: SHA-256-based crypt (sha256crypt’)
  • $6$: SHA-512-based crypt (sha512crypt)

Generare CRYPT encryption of the password (8 chars max, insecure)

$ htpasswd -b -d -c .htpassswd admin test101
Adding password for user admin
$ cat .htpassswd
admin:.ley.xCJWsLT.

Generate bcrypt encryption of the password (very secure)

$ htpasswd -b -B -c .htpassswd admin test101
Adding password for user admin
$ cat .htpassswd
admin:$2y$05$FV6RMPVXMJDABkT4UQEs7eXpl3YM7WPOBsBQXWsT6xeUMnc6X3Gz.

Generate MD5 encryption of the password

$ htpasswd -b -c .htpasswd admin test101
Adding password for user admin
$ cat .htpasswd
admin:$apr1$O8CSqy3G$eR8kU3J0Nzg8c2fcSzpNG/

Generate SHA encryption of the password

$ htpasswd -b -s -c .htpasswd admin test101
Adding password for user admin
$ cat .htpasswd
admin:{SHA}0qukM7hSEFaiMSqfMoUoRRQlCXA=

Openssl

Using Openssl to generate MD5 and crypt value

$ openssl passwd -apr1 myPassword
$apr1$mFIpAjrA$NAOcmkuqusma2xhRr5URy0
$ openssl passwd -crypt myPassword
Warning: truncating password to 8 characters
oAz68B2Eul9CA