mirror of
https://github.com/hashcat/hashcat.git
synced 2025-08-04 12:56:00 +00:00
Update test module
This commit is contained in:
parent
d22bb0e712
commit
a0c669b59f
@ -15,7 +15,7 @@ sub module_constraints { [[0, 256], [0, 256], [0, 55], [0, 55], [0, 55]] }
|
|||||||
sub module_generate_hash
|
sub module_generate_hash
|
||||||
{
|
{
|
||||||
my $word = shift;
|
my $word = shift;
|
||||||
my $salt = shift || random_numeric_string (40);
|
my $salt = shift || random_hex_string (40);
|
||||||
|
|
||||||
my $digest = sha1_hex ('--' . $salt . '--' . $word . '--');
|
my $digest = sha1_hex ('--' . $salt . '--' . $word . '--');
|
||||||
|
|
Loading…
Reference in New Issue
Block a user