07-09-2012, 05:22 AM
(07-08-2012, 04:59 PM)undeath Wrote: no. crypt uses PBKDF2.
you're thinking of pbkdf2-hmac-sha512, like what grub uses. sha512crypt doesn't use pbkdf2. sha512crypt is actually based on md5crypt. see http://www.akkadia.org/drepper/SHA-crypt.txt
either way OP, the answer is no. you cannot convert a raw sha512 hash to sha512crypt or vice-versa.