I was thinking some time if I should post that question here or at crypto.stackexchange.com. I think the question is more related to implementation than to theory, so here we go:
I have decided to use scrypt
as the password hashing method for my future backends. Some of my backends are written in Perl, so I plan to use Crypt::ScryptKDF
.
It is quite clear how to use it, but one question is left: scrypt
is (to my best knowledge) more a key derivation function than a hashing function. So how is the hashing actually done?
Does it just encrypt the (salted) input string (e.g. a password) with the key which it has derived from the same (salted) input string (password), or is there more to it?