Skip to content

Commit

Permalink
import fix: init hash sign/verify
Browse files Browse the repository at this point in the history
  • Loading branch information
eschorn1 committed Sep 27, 2024
1 parent 1c8a8d0 commit 678e741
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hashing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ pub(crate) fn hash_message(message: &[u8], ph: &Ph, phm: &mut [u8; 64]) -> ([u8;
0x06u8, 0x09, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x0B,
],
{
use sha3::digest::{ExtendableOutput, Update, XofReader}; // some collide with sha2
//use sha3::digest::{ExtendableOutput, Update, XofReader}; // some collide with sha2
let mut hasher = Shake128::default();
hasher.update(message);
let mut reader = hasher.finalize_xof();
Expand Down

0 comments on commit 678e741

Please sign in to comment.