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

Crypt Algorithm:
user1:cGyUX9QugYMgE

APR1 MD5 Algorithm:
user1:$apr1$j1dmn20o$n7zFlGZ39QuVj7pichjdX/
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 :