Skip to content

Commit

Permalink
fix aead
Browse files Browse the repository at this point in the history
  • Loading branch information
newpavlov committed Jan 31, 2025
1 parent 57a9152 commit 800a45e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aead/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ pub trait AeadCore {
Nonce<Self>: Default,
{
let mut nonce = Nonce::<Self>::default();
getrandom::getrandom(&mut nonce)?;
getrandom::fill(&mut nonce)?;
Ok(nonce)
}

Expand Down

0 comments on commit 800a45e

Please sign in to comment.