Function fedimint_aead::decrypt
source · pub fn decrypt<'c>(
ciphertext: &'c mut [u8],
key: &LessSafeKey
) -> Result<&'c [u8]>Expand description
Decrypts a ciphertext using key.
Expect nonce in the prefix, like encrypt produces.