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

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