Skip to main content

generate_nonce

Function generate_nonce 

Source
pub fn generate_nonce() -> [u8; 16]
Expand description

Generate a random 16-byte nonce for replay protection.

Retained for the active legacy envelope path. Will be removed when the v16 proof-CWT cti replay admission fully replaces it.