Method __builtin.Nettle.Hash()->crypt_pbkdf2()


Method crypt_pbkdf2

string(7bit) crypt_pbkdf2(string(8bit) password, string(7bit) salt, int rounds)

Description

crypt()-style function using pbkdf2().

Compatible with PassLib and Phpass password hashing schemes "pbdkf2", "pbdkf2-sha256" and "pbdkf2-sha512".

Note

This function is provided for interoperability with password hashes provided from PassLib and/or Phpass. It is not recommended for use for new code, as this is not the indended use for the pbkdf2 algorithm.

See also

pbkdf2(), Crypto.Password.hash(), Crypto.Password.verify()