Skip to main content

decrypt_blob

Function decrypt_blob 

Source
pub fn decrypt_blob(
    key: &SecretKey,
    object: &[u8],
) -> Result<Vec<u8>, CryptError>
Expand description

Authenticates and decrypts an encrypted blob.

ยงErrors

Returns a CryptError for malformed data, the wrong key, or tampering.