Function massa_cipher::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.