Crate bcrypt_pbkdf[][src]

This implements the bcrypt_pbkdf password hashing algorithm.

Errors:

  • If either password, salt or hash_out are empty
  • If hash_out length is greater than 1024
  • If zero rounds are selected

Secrity:

It is strongly recommnded to use a salt generated with a CSPRNG and select a number of rounds that is greater than 50.

Functions

bcrypt_pbkdf

The bcrypt_pbkdf password hashing algorithm. The length of the hashed password is implied by the length of hash_out.