Skip to main content

encrypt

Function encrypt 

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

Encrypts the given data using the provided key.