scala-developers-bcn/challenges — pull request #51 by chris-zen (2014-05-29 17:13:13+00:00)
Title: Christian solutions

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"