Skip to main content

decrypt_with_key

Function decrypt_with_key 

Source
pub fn decrypt_with_key(data: &[u8], key: &[u8; 32]) -> Result<Vec<u8>>
Expand description

Decrypt data with a 32-byte symmetric key.

Expects the DOTLING-ENC-V2 format produced by encrypt_with_key.