Skip to main content

decrypt

Function decrypt 

Source
pub fn decrypt<T>(
    shared_secret_key: &SharedSecret,
    nonce: &Nonce,
    cipher_bytes: &[u8],
) -> Result<T>
Expand description

Decrypt a chacha20poly1305 encoded JSON string into an object.