Skip to content

Commit b5e28c9

Browse files
authored
fix(bash-hash): use bit size in AlgorithmName output
1 parent aba1a59 commit b5e28c9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bash-hash/src/block_api.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ impl<OS: OutputSize> Reset for BashHashCore<OS> {
113113

114114
impl<OS: OutputSize> AlgorithmName for BashHashCore<OS> {
115115
fn write_alg_name(f: &mut fmt::Formatter<'_>) -> fmt::Result {
116-
write!(f, "BashHash{}", OS::USIZE)
116+
write!(f, "BashHash{}", OS::USIZE * 8)
117117
}
118118
}
119119

0 commit comments

Comments
 (0)