Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Christian solutions for the micro challenge 001 #51

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

chris-zen
Copy link
Contributor

I have been playing around several ideas and at the end the simpler ones are the best. Didn't touch parallelization strategies yet.

My main proposal is at chriszen.multihash.MapPasswordFinder which follows the interface chriszen.multihash.PasswordFinder. To evaluate its performance I use chriszen.multihash.MultiHashEval.

I encorage people to use common interface and evaluator to be able to compare performance.

To run the performance evaluator:

sbt "runMain chriszen.multihash.MultiHashEval"

Loading dictionary ...
Done in 0,989 secs
Looking for passwords ...
Found 306706 passwords out of 306706
Done in 0,248 secs

Optionally you can specify which hashes to look for and which dictionary to use:

sbt "runMain chriszen.multihash.MultiHashEval hashes-db.txt cain.txt"

chris-zen added 4 commits May 28, 2014 17:36
…ary keys and compares and the other is based on ternary search trees to not having to calculate the digest for already found substrings.
@chris-zen chris-zen changed the title Christian solutions Christian solutions for the micro challenge 001 May 29, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant