View Source SecretVault.KDFs.PBKDF2 (SecretVault v1.0.0)
PKCS #2 PBKDF2 (Password-Based Key Derivation Function 2).
Implements SecretVault.KeyDerivation
.
Link to this section Summary
Functions
Call the PBKDF function.
Link to this section Types
@type option() :: {:key_length, pos_integer()} | {:iterations_count, pos_integer()}
Link to this section Functions
Call the PBKDF function.
options
Options
:key_length
- set the key length (default is 32);:iterations_count
- set the count of iterations (default is 5).