Function steam_vent_crypto::symmetric_encrypt[][src]

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

Generate a random IV and encrypt input with it and key.