Skip to content

Commit

Permalink
Fix audit finding HASH2
Browse files Browse the repository at this point in the history
Resolves #256
  • Loading branch information
moCello committed May 8, 2024
1 parent dd6f4c8 commit 08fc46e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hades.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,11 @@ mod tests {
// absorb given input
sponge
.absorb(input.len(), input)
.expect("Absorbtion of the input should work fine");
.expect("Absorption of the input should work fine");
// absorb padding of one BlsScalar::one()
sponge
.absorb(1, &[BlsScalar::one()])
.expect("Absorbtion of padding should work fine");
.expect("Absorption of padding should work fine");
sponge.squeeze(1).expect("Squeezing should work fine");
let output = sponge.finish().expect("Finish should work fine");
output[0]
Expand Down

0 comments on commit 08fc46e

Please sign in to comment.