1
mirror of https://github.com/hashcat/hashcat synced 2024-11-20 23:27:31 +01:00

In the unit tests, convert the hexdigest to lowercase to match the behavior of 'module_hash_encode'

This commit is contained in:
tweqx 2022-05-23 16:53:50 +02:00
parent fb065e6e8c
commit 97a119da82
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ sub module_generate_hash
my $digest = blake2b_hex ($word . $salt);
my $hash = sprintf ("\$BLAKE2\$%s:%s", $digest, $salt);
my $hash = sprintf ("\$BLAKE2\$%s:%s", lc ($digest), $salt);
return $hash;
}

View File

@ -19,7 +19,7 @@ sub module_generate_hash
my $digest = blake2b_hex ($salt . $word);
my $hash = sprintf ("\$BLAKE2\$%s:%s", $digest, $salt);
my $hash = sprintf ("\$BLAKE2\$%s:%s", lc ($digest), $salt);
return $hash;
}