What it is depends on what encryption routines you have installed.


The algorithm to authenticate detects the algorithm based on the hash.



32-char : MD5

$1$     : SHA-1

$2$     : SHA-2

etc.

(Apologies if I got my tokens/algorithms wrong)



If you just toss MD5s in there, it should work, I think, if you have MD5 
installed and available.



It picks the best available when it adds a new entry.



So an old file might look like:



#your box came with MD5 installed

joe:MD5

alice:MD5

#you installed SHA-2

bob:SHA-2

lee:SHA-2



At least, that's been my experience so far...



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to