Skip to main content

encrypt

Function encrypt 

Source
pub fn encrypt(pk_r: &MetadataPublicKey, m: &[u8]) -> MetadataCiphertext
Expand description

SD-PKE.Enc: encrypt message m to recipient key pk_r, returning (c, c').

m is the sender’s serialized long-term APKE public key.