Module messaging

Module messaging 

Source

Structs§

MessageSession
MessageSession manages the cryptographic state for secure message exchange between two parties using post-quantum cryptographic algorithms.

Functions§

create_nonce
Creates a nonce from a session ID and a counter
gen_session_id
Generates a random session ID of 16 bytes, used in nonce creation
parse_ss
Parses a byte slice into a fixed-size array for a shared secret