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

Prepare -m 29910 and -m 29920 unit-test to act as template for -m 29930 unit-test

This commit is contained in:
Jens Steube 2022-10-06 16:02:02 +02:00
parent 3d6ad53076
commit 7e683ac446
2 changed files with 12 additions and 10 deletions

View File

@ -11,11 +11,12 @@ use warnings;
use Crypt::Mode::ECB;
use Crypt::PBKDF2;
my $ENC_MAX_KEY_NUM = 8;
my $ENC_NONCE_SIZE = 8;
my $ENC_KEY_SIZE = 16;
my $ENC_BLOCK_SIZE = 16;
my $ENC_KEYCHAIN_SIZE = 128;
my $ENC_MAX_KEY_NUM = 8;
my $ENC_NONCE_SIZE = 8;
my $ENC_KEY_SIZE = 16;
my $ENC_BLOCK_SIZE = 16;
my $ENC_KEYCHAIN_SIZE = 128;
my $ENC_DEFAULT_MD5_ITERATIONS = 1000;
sub module_constraints { [[0, 256], [64, 64], [-1, -1], [-1, -1], [-1, -1]] }

View File

@ -11,11 +11,12 @@ use warnings;
use Crypt::Mode::ECB;
use Crypt::PBKDF2;
my $ENC_MAX_KEY_NUM = 8;
my $ENC_NONCE_SIZE = 8;
my $ENC_KEY_SIZE = 16;
my $ENC_BLOCK_SIZE = 16;
my $ENC_KEYCHAIN_SIZE = 128;
my $ENC_MAX_KEY_NUM = 8;
my $ENC_NONCE_SIZE = 8;
my $ENC_KEY_SIZE = 16;
my $ENC_BLOCK_SIZE = 16;
my $ENC_KEYCHAIN_SIZE = 128;
my $ENC_DEFAULT_MD5_ITERATIONS = 1000;
sub module_constraints { [[0, 256], [64, 64], [-1, -1], [-1, -1], [-1, -1]] }