How to generate passwords for .htpasswd using PHP - Demo
This is a demo page for How to generate passwords for .htpasswd using PHP
Here are some sample hash generated by both algorithms for username
Crypt Algorithm:
APR1 MD5 Algorithm:
BCRYPT Algorithm:
user1
and password password1
.Crypt Algorithm:
user1:cGyUX9QugYMgE
APR1 MD5 Algorithm:
user1:$apr1$bfelzoa8$O2Xfm84TRY7T7AXx/ImOx.
BCRYPT Algorithm:
user1:$2y$10$iGIB3YT/ApC3aB7CrGDV1Ohl47MhuAHiUIYtrb3VZv0d5tc2vnHhu
Note: I do NOT log ANY data entered in this form.