Created
May 4, 2018 09:00
-
-
Save Honzaik/f70f166a1146f0e39761cd32402bff18 to your computer and use it in GitHub Desktop.
brute
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import hashlib | |
prefix = "JanOupicky" | |
counter = 0 | |
seznam = dict() | |
h = hashlib.sha256((prefix + str(counter)).encode("utf-8")).hexdigest() | |
while(h[:10] not in seznam): | |
seznam[h[:10]] = prefix + str(counter) | |
counter += 1 | |
h = hashlib.sha256((prefix + str(counter)).encode("utf-8")).hexdigest() | |
print(h[:10]) | |
print(seznam[h[:10]]) | |
print(prefix+str(counter)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment