Skip to content

aead: add AeadCore::generate_nonce#1073

Merged
tarcieri merged 1 commit intomasterfrom
aead/generate-nonce
Aug 10, 2022
Merged

aead: add AeadCore::generate_nonce#1073
tarcieri merged 1 commit intomasterfrom
aead/generate-nonce

Conversation

@tarcieri
Copy link
Copy Markdown
Member

Adds a provided trait method to AeadCore for random nonce genreation, gated on the rand_core feature.

Includes documentation with guidance from NIST SP 800-38D regarding the safety of random nonces, noting their suggested limit of 2^32 encryption operations per key for any nonce size.

Adds a provided trait method to `AeadCore` for random nonce genreation,
gated on the `rand_core` feature.

Includes documentation with guidance from NIST SP 800-38D regarding
the safety of random nonces, noting their suggested limit of 2^32
encryption operations per key for any nonce size.
@tarcieri tarcieri merged commit 7475fb1 into master Aug 10, 2022
@tarcieri tarcieri deleted the aead/generate-nonce branch August 10, 2022 01:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant