Skip to main content

build_message

Function build_message 

Source
pub fn build_message(sender: &impl UserPublic, message: Vec<u8>) -> Plaintext
Expand description

Build plaintext message, including pubkeys (for replies). TODO: only sources need to attach their pubkeys (for replies), but for toy purposes, everyone builds a Plaintext message the same way