Skip to main content

decrypt

Function decrypt 

Source
pub fn decrypt(
    encrypted: &EncryptedPayload,
    secret: &[u8],
) -> Result<Vec<u8>, CodecError>
Expand description

Decrypts ciphertext that was encrypted with encrypt.