Skip to main content

encrypt

Function encrypt 

Source
pub fn encrypt(plaintext: &[u8], key: &[u8; 32]) -> Vec<u8> 
Expand description

Encrypt a message with a Noise key (simplified AEAD).