1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-22 08:08:10 +00:00

Merge pull request #3732 from matrix/fix_modules_constraints_NOSALT

Unit Test: removes salt constraints if no salt is used
This commit is contained in:
Jens Steube 2023-05-26 17:06:57 +02:00 committed by GitHub
commit d3f7c5132c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 7 additions and 7 deletions

View File

@ -11,7 +11,7 @@ use warnings;
use Digest::MD5 qw (md5_hex); use Digest::MD5 qw (md5_hex);
use Encode; 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 sub module_generate_hash
{ {

View File

@ -11,7 +11,7 @@ use warnings;
use Digest::SHA1 qw (sha1_hex); use Digest::SHA1 qw (sha1_hex);
use Encode; 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 sub module_generate_hash
{ {

View File

@ -11,7 +11,7 @@ use warnings;
use Digest::SHA qw (sha256_hex); use Digest::SHA qw (sha256_hex);
use Encode; 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 sub module_generate_hash
{ {

View File

@ -11,7 +11,7 @@ use warnings;
use Digest::SHA qw (sha512_hex); use Digest::SHA qw (sha512_hex);
use Encode; 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 sub module_generate_hash
{ {

View File

@ -11,7 +11,7 @@ use warnings;
use Digest::SHA qw (sha384_hex); use Digest::SHA qw (sha384_hex);
use Encode; 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 sub module_generate_hash
{ {

View File

@ -8,7 +8,7 @@
use strict; use strict;
use warnings; 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 sub module_generate_hash
{ {

View File

@ -13,7 +13,7 @@ use Digest::HMAC qw (hmac);
use Encode qw (encode); use Encode qw (encode);
use MIME::Base64 qw (encode_base64); 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 sub module_generate_hash
{ {