We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
NonceSequence
1 parent 554c222 commit 967054eCopy full SHA for 967054e
src/aead.rs
@@ -41,7 +41,8 @@ pub use self::{
41
/// Intentionally not `Clone` or `Copy` since cloning would allow duplication
42
/// of the sequence.
43
pub trait NonceSequence {
44
- /// Returns a nonce, and prevents that
+ /// Returns the next nonce in the sequence.
45
+ ///
46
/// This may fail if "too many" nonces have been requested, where how many
47
/// is too many is up to the implementation of `NonceSequence`. An
48
/// implementation may that enforce a maximum number of records are
0 commit comments