Skip to main content

decrypt_value

Function decrypt_value 

Source
pub fn decrypt_value(
    encoded: &str,
    identity: &MurkIdentity,
) -> Result<Zeroizing<Vec<u8>>, MurkError>
Expand description

Decrypt a base64-encoded ciphertext and return plaintext bytes.

The returned buffer is zeroized on drop.