Function geph4_protocol::binder::protocol::box_encrypt
source · pub fn box_encrypt(
plain: &[u8],
my_sk: StaticSecret,
their_pk: PublicKey
) -> Bytes
Expand description
Encrypts a message, “box-style”, to a destination diffie-hellman public key.