Here are some sample hash generated by both algorithms for username user1 and password password1.

Crypt Algorithm:
user1:cGyUX9QugYMgE

APR1 MD5 Algorithm:
user1:$apr1$58kvh9sr$X5n5Re2ugj.7JJ/LG7LrZ/
Use the following form to create password for htpasswd file. Just enter username and password and an entry for the htpasswd file is generated.
Username :
Password :