pub fn seal(
ctx: &MessageContext,
plaintext: &[u8],
sender_signing_key: &SigningKey,
sender_pub: &EncryptionPublicKey,
recipient_pub: &EncryptionPublicKey,
) -> Result<SealedMessage, EnvelopeError>Expand description
Encrypt plaintext to recipient_pub, signing it with the sender’s
Ed25519 key under the given context. See the module docs for the
exact construction.