pub fn decrypt(
ciphertext: &[u8],
identity: &Identity,
) -> Result<SecretString, VaultError>Expand description
Decrypt ciphertext using an identity. Returns the plaintext as a SecretString.
pub fn decrypt(
ciphertext: &[u8],
identity: &Identity,
) -> Result<SecretString, VaultError>Decrypt ciphertext using an identity. Returns the plaintext as a SecretString.