Add shared code for entropy tests
@magnumripper is already working on this.
Since Oct 26, 2018.
- Dominant language
- C
- Stars
- 13.6k
- Forks
- 2.6k
- PR merge metrics
- No merged PRs in 30d
Description
See https://github.com/hashcat/hashcat/issues/1729#issuecomment-433291076
As mentioned in that comment, a cold (really proper test) version could be used for detecting bogus input data. It could be used to verify quality of any input data blobs that are supposedly encrypted and/or compressed. At some threshold we could warn and at obvious cases (like that hashcat OP) it's a no-brainer and the input data can be rejected with a notice.
We might also want a shared hot (as fast as possible) one for post-crypt evaluation (for formats where correct data should have low entropy, ie. not compressed).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.