in reply to hashed unix/shadow SHA512 passwords
Oh, but to answer the question you actually asked, the reason is that the "SHA-512" crypt() algorithm isn't SHA-512, it's a key-derivation function using SHA-512. Likewise the "MD5" crypt algorithm isn't MD5, etc. The actual algorithm is specified here as far as I can tell, but you shouldn't worry about implementing it. Let crypt() do that for you.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: hashed unix/shadow SHA512 passwords
by greenmoss (Novice) on Apr 16, 2010 at 20:47 UTC |