php - Can mcrypt perform the same algorithms supported by crypt()? -


i have app runs on php 5.3 stores passwords hashed using php's crypt() function. hashing type (sha 512) used not available default on 1 of servers i'm using runs php 5.2. i've seen mcrypt lot more flexibility it's more complicated use.

is possible use php's mcrypt functions same results crypt (using sha512 salt)?

so if input "test" sha512 salt encrypted data should same when using crypt() when using mcrypt().

if it's not possible, can give me advice on else do? unfortunately upgrading php 5.3 not option (it's cloud server , don't have time write scripts that).

unfortunately mcrypt doesn't have sha512 cipher - can take @ list of ciphers here:

http://www.php.net/manual/en/mcrypt.ciphers.php


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -