Pow v1.0.8 Pow.Ecto.Schema.Password.Pbkdf2 View Source
The Pbkdf2 hash generation code is pulled from Plug.Crypto.KeyGenerator and is under Apache 2 license.
Link to this section Summary
Functions
Compares the two binaries in constant-time to avoid timing attacks
Returns a derived key suitable for use
Link to this section Functions
Link to this function
compare(left, right) View Source
Compares the two binaries in constant-time to avoid timing attacks.
Link to this function
generate(secret, salt, iterations, length, digest) View Source
Returns a derived key suitable for use.