PBCS.PBES2_HMAC_SHA2 (pbcs v0.1.4) View Source
Direct Key Derivation with PBES2 and HMAC-SHA-2.
See: https://tools.ietf.org/html/rfc7518#section-4.8 See: https://tools.ietf.org/html/rfc2898#section-6.2
Link to this section Summary
Functions
Callback implementation for PBCS.KeyManager.decrypt/4
.
Callback implementation for PBCS.KeyManager.encrypt/3
.
Callback implementation for PBCS.KeyManager.init/2
.
Link to this section Functions
Callback implementation for PBCS.KeyManager.decrypt/4
.
Link to this function
derive_key(password, salt_input, iterations, derived_key_length, hash)
View SourceSpecs
derive_key( String.t(), binary(), pos_integer(), non_neg_integer(), :sha256 | :sha384 | :sha512 ) :: binary()
Callback implementation for PBCS.KeyManager.encrypt/3
.
Callback implementation for PBCS.KeyManager.init/2
.