SCRYPT Token length exception when derived key length not 32 bytes?
#1
It appears "hashcat -m 8900" (scrypt) only recognizes hashes with a derived key length of 32.

My shorter key length of 24 causes an exception:
Code:
Hashfile 'my_sample_hashes.txt' on line 2 (SCRYPT...[hash redacted]): Token length exception

The two hashes in "my_sample_hashes.txt" were created with Perl:

Code:
#!/usr/bin/perl -l
use Crypt::ScryptKDF qw(scrypt_hash);
print scrypt_hash('password1', 'salt', 4096,  8,  1, 32);
print scrypt_hash('password2', 'salt', 4096,  8,  1, 24);

Any suggestions?

Thanks!
Reply


Messages In This Thread
SCRYPT Token length exception when derived key length not 32 bytes? - by TheRammer - 08-12-2022, 05:29 PM