well, the help from htpasswd.exe is :
Usage:
htpasswd [-cmdps] passwordfile username
htpasswd -b[cmdps] passwordfile username password
htpasswd -n[mdps] username
htpasswd -nb[mdps] username password
-c Create a new file.
-n Don't update file; display results on stdout.
-m Force MD5 encryption of the password (default).
-d Force CRYPT encryption of the password.
-p Do not encrypt the password (plaintext).
-s Force SHA encryption of the password.
-b Use the password from the command line rather than prompting for it.
On Windows, TPF and NetWare systems the '-m' flag is used by default.
On all other systems, the '-p' flag will probably not work.
I don't think it is possible de specify the salt for the encryption.
This thing start sligthly to get on my nerve. Furthermore, I didn't find any information on the apache website .... They could at least tell how apache can manage to recognise the password you enter in clear in the authentification box from the encrypted version saved in the .htpasswd
Well well some use to say it is the interesting part in programing process 😉
Keep looking for an answer
+
Schlum
Bye the way, thks again for all the answers you took the time to writte.