conduit_password_hash library Null safety

Classes

PBKDF2
Instances of this type derive a key from a password, salt, and hash function.

Functions

generate(int length) List<int>
Generates a random salt of length bytes from a cryptographically secure random number generator.
generateAsBase64String(int length) String
Generates a random salt of length bytes from a cryptographically secure random number generator and encodes it to Base64.

Exceptions / Errors

PBKDF2Exception
Thrown when PBKDF2 throws an exception.