Function decrypt_slice

Source
pub fn decrypt_slice(data: &[u8], secret: &Secret) -> Result<Secret>
Expand description

Decrypts the given data using XChaCha20Poly1305 algorithm.