1
mirror of https://github.com/hashcat/hashcat synced 2024-09-27 16:01:19 +02:00

Update -m 21800 entropy test

This commit is contained in:
Jens Steube 2021-11-20 23:07:38 +01:00
parent 23db32a117
commit eb3b452ab9

View File

@ -625,7 +625,7 @@ KERNEL_FQ void m21800_comp (KERN_ATTR_TMPS_ESALT (electrum_tmp_t, electrum_t))
if (tmp[i] == ':') ccnt2++;
}
if ((qcnt1 >= 1) && (ccnt1 >= 1) && (qcnt2 >= 3) && (ccnt2 >= 3))
if ((qcnt1 >= 1) && (ccnt1 >= 1) && (qcnt2 >= 4) && (ccnt2 >= 3))
{
const float entropy = hc_get_entropy ((const u32 *) tmp, 256);