diff options
author | Andreas Grois <andi@grois.info> | 2022-10-23 15:51:30 +0200 |
---|---|---|
committer | Andreas Grois <andi@grois.info> | 2022-10-23 15:51:30 +0200 |
commit | cb219708923df26e0efc0ce172e1be7414287fe2 (patch) | |
tree | 7d4b8e42df9a6f2847687247fdb2bc4b6b2dad29 /benches/hashrate_20.rs | |
parent | e17a38b1c44215911c1a84d94413e7f486edcaa3 (diff) |
Fix benchmark errors.
20 bytes worst case was using 16 bytes.
32 bytes full division was producing a leading zero.
Diffstat (limited to 'benches/hashrate_20.rs')
-rw-r--r-- | benches/hashrate_20.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/benches/hashrate_20.rs b/benches/hashrate_20.rs index 3999380..b661df7 100644 --- a/benches/hashrate_20.rs +++ b/benches/hashrate_20.rs @@ -46,7 +46,7 @@ fn criterion_bench_20bytes_full_divide(c: &mut Criterion) { fn criterion_bench_20bytes_worst_case(c: &mut Criterion) { let pwm = Pwm::new( - HashAlgorithm::Md5, + HashAlgorithm::Ripemd160, passwordmaker_rs::UseLeetWhenGenerating::NotAtAll, "XY", "", |