Function massa_cipher::encrypt::encrypt

source ยท
pub fn encrypt(password: &str, data: &[u8]) -> Result<CipherData, CipherError>
Expand description

Encryption function using AES-GCM cipher.

Read lib.rs module documentation for more information.