1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-03-06 18:16:12 +00:00

mod 8300 (NSEC3): support salt length up to what the standard allows

This commit is contained in:
Jan Doskočil 2025-02-19 12:56:59 +01:00
parent 6716447dfc
commit 3188f1a64d

View File

@ -64,7 +64,7 @@ int module_hash_decode (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSE
token.sep[2] = ':';
token.len_min[2] = 0;
token.len_max[2] = 32;
token.len_max[2] = 510; // max salt length is 255B, human readable repr is hex so 2 chars per byte
token.attr[2] = TOKEN_ATTR_VERIFY_LENGTH;
token.sep[3] = ':';