1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-23 07:08:19 +00:00

Update constraints for new unit tests

This commit is contained in:
jsteube 2019-02-19 09:34:58 +01:00
parent a5453b749a
commit b30495b901
3 changed files with 4 additions and 4 deletions

View File

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

View File

@ -11,13 +11,13 @@ use warnings;
use MIME::Base64 qw (encode_base64 decode_base64);
use Crypt::PBKDF2;
sub module_constraints { [[0, 255], [16, 16], [0, 55], [16, 16], [-1, -1]] }
sub module_constraints { [[0, 255], [16, 16], [-1, -1], [-1, -1], [-1, -1]] }
sub module_generate_hash
{
my $word = shift;
my $salt = shift;
my $pbkdf2 = Crypt::PBKDF2->new
(
hasher => Crypt::PBKDF2->hasher_from_algorithm ('HMACSHA1'),

View File

@ -11,7 +11,7 @@ use warnings;
use MIME::Base64 qw (encode_base64 decode_base64);
use Crypt::PBKDF2;
sub module_constraints { [[0, 255], [1, 15], [0, 55], [1, 15], [-1, -1]] }
sub module_constraints { [[0, 255], [1, 15], [-1, -1], [-1, -1], [-1, -1]] }
sub module_generate_hash
{