pub fn encrypt<A, R>(
pass: &Password,
plaintext: &A,
csprng: &mut R,
) -> EncryptedDataExpand description
Encrypt the given plaintext using the provided password.
This uses the AES256 cipher using PBKDF2SHA256 key derivation function
using a randomly sampled salt.
The number of rounds of the key derivation function is defined by the
NUM_ROUNDS constant.