encrypt

Function encrypt 

Source
pub fn encrypt(
    shared_secret: &SharedSecret,
    plaintext: &[u8],
) -> Res<EncryptedData>
Expand description

Encrypts the given plaintext using the shared secret.