Skip to main content
This is unreleased documentation for the main (development) branch of crypto-glue.

Module pbes2

Module pbes2 

Source
Expand description

Password-Based Encryption Scheme 2 as defined in RFC 8018 Section 6.2.

Structs§

Parameters
Password-Based Encryption Scheme 2 parameters as defined in RFC 8018 Appendix A.4.
Pbkdf2Params
Password-Based Key Derivation Scheme 2 parameters as defined in RFC 8018 Appendix A.2.
Salt
Salt as used by the PBES2 KDF.
ScryptParams
scrypt parameters as defined in RFC 7914 Section 7.1.

Enums§

EncryptionScheme
Symmetric encryption scheme used by PBES2.
Kdf
Password-based key derivation function.
Pbkdf2Prf
Pseudo-random function used by PBKDF2.

Constants§

AES_128_CBC_OID
128-bit Advanced Encryption Standard (AES) algorithm with Cipher-Block Chaining (CBC) mode of operation.
AES_128_GCM_OID
128-bit Advanced Encryption Standard (AES) algorithm with Galois Counter Mode
AES_192_CBC_OID
192-bit Advanced Encryption Standard (AES) algorithm with Cipher-Block Chaining (CBC) mode of operation.
AES_256_CBC_OID
256-bit Advanced Encryption Standard (AES) algorithm with Cipher-Block Chaining (CBC) mode of operation.
AES_256_GCM_OID
256-bit Advanced Encryption Standard (AES) algorithm with Galois Counter Mode
HMAC_WITH_SHA1_OID
HMAC-SHA1 (for use with PBKDF2)
HMAC_WITH_SHA256_OID
HMAC-SHA-256 (for use with PBKDF2)
PBES2_OID
Password-Based Encryption Scheme 2 (PBES2) OID.
PBKDF2_OID
Password-Based Key Derivation Function (PBKDF2) OID.
SCRYPT_OID
id-scrypt (RFC 7914)