1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-13 19:28:56 +00:00

Unit Test: removes salt constraints if no salt is used

This commit is contained in:
Gabriele Gristina 2023-05-16 21:40:44 +02:00
parent f840574aab
commit b865c55ab4
7 changed files with 7 additions and 7 deletions

View File

@ -11,7 +11,7 @@ use warnings;
use Digest::MD5 qw (md5_hex);
use Encode;
sub module_constraints { [[0, 256], [0, 256], [0, 27], [0, 27], [0, 27]] }
sub module_constraints { [[0, 256], [-1, -1], [0, 27], [-1, -1], [-1, -1]] }
sub module_generate_hash
{

View File

@ -11,7 +11,7 @@ use warnings;
use Digest::SHA1 qw (sha1_hex);
use Encode;
sub module_constraints { [[0, 256], [0, 256], [0, 27], [0, 27], [0, 27]] }
sub module_constraints { [[0, 256], [-1, -1], [0, 27], [-1, -1], [-1, -1]] }
sub module_generate_hash
{

View File

@ -11,7 +11,7 @@ use warnings;
use Digest::SHA qw (sha256_hex);
use Encode;
sub module_constraints { [[0, 256], [0, 256], [0, 27], [0, 27], [0, 27]] }
sub module_constraints { [[0, 256], [-1, -1], [0, 27], [-1, -1], [-1, -1]] }
sub module_generate_hash
{

View File

@ -11,7 +11,7 @@ use warnings;
use Digest::SHA qw (sha512_hex);
use Encode;
sub module_constraints { [[0, 256], [0, 256], [0, 27], [0, 27], [0, 27]] }
sub module_constraints { [[0, 256], [-1, -1], [0, 27], [-1, -1], [-1, -1]] }
sub module_generate_hash
{

View File

@ -11,7 +11,7 @@ use warnings;
use Digest::SHA qw (sha384_hex);
use Encode;
sub module_constraints { [[0, 256], [0, 256], [0, 27], [0, 27], [0, 27]] }
sub module_constraints { [[0, 256], [-1, -1], [0, 27], [-1, -1], [-1, -1]] }
sub module_generate_hash
{

View File

@ -8,7 +8,7 @@
use strict;
use warnings;
sub module_constraints { [[0, 256], [0, 256], [0, 55], [0, 55], [-1, -1]] }
sub module_constraints { [[0, 256], [-1, -1], [0, 55], [-1, -1], [-1, -1]] }
sub module_generate_hash
{

View File

@ -13,7 +13,7 @@ use Digest::HMAC qw (hmac);
use Encode qw (encode);
use MIME::Base64 qw (encode_base64);
sub module_constraints { [[0, 256], [0, 256], [0, 27], [0, 27], [0, 27]] }
sub module_constraints { [[0, 256], [-1, -1], [0, 27], [-1, -1], [-1, -1]] }
sub module_generate_hash
{