Bring back sorted hashes
I used to lookup password hashes by a binary search in the sorted password list (iterating over the initial database and the 2 updates).
With the new database 2.0 this is no longer possible (unless I sort the downloaded hashes).
Please bring back the sorted hashes.
I do not care for the counts that have been added - perhaps another file with sorted hashes and without counts (to somewhat reduce the file size) could be offered for download?
I’m trying to avoid having multiple versions of the same thing, I suggest that if a different order is important you just do a one-off reordering of the file.
-
Just wanted to let you know that this is now done: https://twitter.com/troyhunt/status/969044648571297792
-
Stefan Esser commented
Yes, I've already done that on my system. But I'm asking because I had created a "port" (i.e. software package) for FreeBSD, which downloads the password hashes and lets users check passwords piped into a script on their local systems (e.g. for local checking of changed passwords against the list). Sorting an 30 GB file on each system the port is installed on is a waste of resources. I cannot host the sorted password hashes(in the old format) myself and the new file is useless for fast lookups per binary search, so I'll have to stay at the old release of the hashes (1.0 plus updates). This is better than nothing, but I really do not understand how to quickly search for a given hash in the new file format.
What do I miss? What is this format good for, if it does not support efficient lookups?