Skip to main content

encrypt

Function encrypt 

Source
pub fn encrypt(plain: &[u8], passphrase: SecretString) -> Result<Vec<u8>>
Expand description

Encrypt plain with passphrase using age (scrypt + ChaCha20-Poly1305).