Function lithos::nacl::crypto_box_edwards_seal
[−]
[src]
pub fn crypto_box_edwards_seal(msg: &[u8], pk: &[u8]) -> Vec<u8>
Create a sealed (anonymous) crypto box
This differs from what is in libsodium because it accepts public key in edwards form and convert it to montgomery internally. In libsodium/libnacl public key is accepted in mongomery form. Except key conversion the encryption is compatible.