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.
pub fn encrypt(password: &str, data: &[u8]) -> Result<CipherData, CipherError>
Encryption function using AES-GCM cipher.
Read lib.rs
module documentation for more information.