Hello all,

i would like to crypt a password as secure as possible.
The documentation says crypt() will use DES unless MD5 is available.

But in my case this doesn't seem to work.

'echo CRYPT_STD_DES ;'     returns  1
'echo CRYPT_EXT_DES;'      returns 0
'echo CRYPT_MD5;'             returns 1
'echo CRYPT_BLOWFISH;'    returns 0

so i will asume, that MD5 is available on my system. But
'echo CRYPT_SALT_LENGTH;'  returns 2
and if i test 'crypt('test')'
the string is only encrypted with DES. 

Anybody had similar expieriences? Is this a bug or an error on my side?

Best regards
  Niklas Neumann
-- 
"Ein Experte ist ein Mann, der hinterher genau sagen kann,
 warum seine Prognose nicht gestimmt hat."  -  Winston Churchil

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to