openwall / openwall/john

Add shared code for entropy tests

Open
#3,444 6 comments 0 reactions 1 assignee View on GitHub

@magnumripper is already working on this.

Since Oct 26, 2018.

enhancement
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.