Skip to main content

new_session

Function new_session 

Source
pub fn new_session() -> ([u8; 16], StaticSecret, PublicKey)
Expand description

Fresh X25519 ephemeral keypair + random tx_id. The secret stays on the initiator’s machine until the SAS finishes; the pubkey is transmitted in the signed envelope.