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

Crypt Algorithm:
user1:cGyUX9QugYMgE

APR1 MD5 Algorithm:
user1:$apr1$81xw5vmy$FZPDT4GIlUniI70TbF99r.
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 :