Skip to main content

decrypt

Function decrypt 

Source
pub fn decrypt(encrypted: &EncryptedData, key: &SecretKey) -> Result<SecretVec>
Expand description

Decrypt ciphertext using XChaCha20-Poly1305.