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:
parent
fb065e6e8c
commit
97a119da82
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user