cmpt431-rainbow/Client — pull request #5 by aziz431 (2012-03-11 11:43:54+00:00)
Title: Modified RainbowTable.java

Modified generateMicroTable function.
Now, the chains are stored in a TreeMap
Using Random() rather than Math for generating random integers.
Added function getPlaintextFromHash(String hash) for looking up hashes from the micro table.

Currently, when searching plaintexts for hashes that match one of the chains final hash works. But, it seems that it can't return a plaintext from a hash that is not a final hash from any chain. We may have to generate longer chains for better results.