mirror of
https://github.com/hashcat/hashcat
synced 2024-11-02 20:39:22 +01:00
Update -m 21800 entropy test
This commit is contained in:
parent
23db32a117
commit
eb3b452ab9
@ -625,7 +625,7 @@ KERNEL_FQ void m21800_comp (KERN_ATTR_TMPS_ESALT (electrum_tmp_t, electrum_t))
|
|||||||
if (tmp[i] == ':') ccnt2++;
|
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);
|
const float entropy = hc_get_entropy ((const u32 *) tmp, 256);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user