Skip to main content

decrypt

Function decrypt 

Source
pub fn decrypt(
    ciphertext: &[u8],
    identity: &Identity,
) -> Result<SecretString, VaultError>
Expand description

Decrypt ciphertext using an identity. Returns the plaintext as a SecretString.