Function lair_keystore::dependencies::sodoken::crypto_box::curve25519xchacha20poly1305::seal
source · pub async fn seal<C, M, P>(
cipher: C,
message: M,
dest_pub_key: P,
) -> Result<(), OneErr>
Expand description
seal (encrypt) a message with an ephemeral key that can’t even be decrypted by this sender.