pub fn x_salsa20_poly1305_shared_secret_export(
sender: X25519PubKey,
recipient: X25519PubKey,
key_ref: XSalsa20Poly1305KeyRef
) -> ExternResult<XSalsa20Poly1305EncryptedData>
Expand description
Using the Libsodium box algorithm, encrypt a shared secret so that it may be forwarded to another specific peer.