1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-01-10 15:51:10 +00:00

Fixed spacing

This commit is contained in:
Sein Coray 2019-01-09 10:50:26 +01:00
parent e12ce123c9
commit a1fa4aa12f
No known key found for this signature in database
GPG Key ID: 44C4180EA69758EC
2 changed files with 3 additions and 3 deletions

View File

@ -20,7 +20,7 @@ sub module_generate_hash
my $salt_bin = pack ("H*", $salt);
my $digest = sha1_hex (encode ("UTF-16LE", uc($word)) . $salt_bin);
my $digest = sha1_hex (encode ("UTF-16LE", uc ($word)) . $salt_bin);
my $hash = sprintf ("0x0100%s%s%s", $salt, "0" x 40, $digest);

View File

@ -33,9 +33,9 @@ sub module_verify_hash
my ($digest, $word) = split (':', $line);
my $salt = substr($digest, 6, 8);
my $salt = substr ($digest, 6, 8);
my $hash = substr($digest, 14);
my $hash = substr ($digest, 14);
return unless defined $hash;
return unless defined $salt;