I configured apache to protect my entire site.

I have some users into .htaccess, that was generated by a web generator and they work.

I try to create others, with htpasswd utility, and they don't work. Also I found a lot of htpasswd generators on the net, but the encripted password is different from one to another. What is the right algorithm for crypting?

Thank you