pub trait NonceGenerator: Send + Sync { fn generate(&self) -> Option<Vec<u8>>; }
An interface for generating nonces.