[−][src]Trait pwbox::Suite
Cryptographic suite providing ciphers and KDFs for password-based encryption.
Associated Types
type Cipher: Cipher
Recommended cipher for this suite.
type DeriveKey: DeriveKey + Clone + Default
Recommended KDF for this suite.
Required methods
fn add_ciphers_and_kdfs(eraser: &mut Eraser)
Adds ciphers and KDFs from this suite into the specified Eraser
.
Provided methods
fn build_box<R: RngCore + CryptoRng>(
rng: &mut R
) -> PwBoxBuilder<'_, Self::DeriveKey, Self::Cipher>
rng: &mut R
) -> PwBoxBuilder<'_, Self::DeriveKey, Self::Cipher>
Initializes a PwBoxBuilder
with the recommended cipher and KDF.