pub fn encrypt(
recipient: &PublicKey,
plaintext: &[u8],
) -> Result<EncryptedBlob, EciesError>Expand description
Encrypt plaintext to recipient using ECIES-P256 + AES-256-GCM.
pub fn encrypt(
recipient: &PublicKey,
plaintext: &[u8],
) -> Result<EncryptedBlob, EciesError>Encrypt plaintext to recipient using ECIES-P256 + AES-256-GCM.