Skip to content

Commit

Permalink
reorganizing ascon
Browse files Browse the repository at this point in the history
  • Loading branch information
SymmetricChaos committed Dec 24, 2024
1 parent 6b2a5b1 commit 7e314dc
Show file tree
Hide file tree
Showing 7 changed files with 559 additions and 179 deletions.
2 changes: 1 addition & 1 deletion hashers/src/argon2/argon2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ impl ClassicHasher for Argon2 {
}

// Hash the final value
Blake2bLong::init_hash(64).hash(&c.to_be_bytes())
Blake2bLong::init_hash(self.tag_len as u64).hash(&c.to_be_bytes())
}

fn hash_bytes_from_string(&self, text: &str) -> Result<String, HasherError> {
Expand Down
Loading

0 comments on commit 7e314dc

Please sign in to comment.