pub fn encrypt(
shared_secret: &SharedSecret,
plaintext: &[u8],
) -> Res<EncryptedData>Expand description
Encrypts the given plaintext using the shared secret.
pub fn encrypt(
shared_secret: &SharedSecret,
plaintext: &[u8],
) -> Res<EncryptedData>Encrypts the given plaintext using the shared secret.