encrypt_header

Function encrypt_header 

Source
pub fn encrypt_header(
    recipient_keys: &HashSet<Keys>,
    session_key: &Option<[u8; 32]>,
) -> Result<Vec<u8>, Crypt4GHError>
Expand description

Builds a header with a random session key

Returns the encrypted header bytes