We have a set of hashes and we want to compare them with the passwords contained in the famous rockyou.txt.
We have written a code which iteratively converts each entry in rockyou.txt to hash and compares it with our single hash using:
passlib.pbkdf2_sha256.verify(password_string_in_rockyou, my_hash)
The issue is that we have to convert the entire 15 million entries in rock you to hashes to check against a single hash we have. So, if we have 1000 hashes we have to compute the hashes 1000 * 15 million times.
Is there any way store the 15 million hashes converted one time and leverage the same for cracking all hashes?