Created
June 23, 2020 15:18
-
-
Save jin10086/9415ad52f6f3be4b047edc788fc7c0cb to your computer and use it in GitHub Desktop.
This file contains hidden or 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
from hashlib import md5 | |
def Hash(context): | |
result = md5(bytes(context, "utf8")) | |
for i in range(0, 10000000): | |
result = md5(result.digest()) | |
return result.hexdigest() | |
key = input("Please enter 8-digit PIN:") | |
if Hash(key) == "5f4654140971c47658de19d62ba472b6": | |
print("ok") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment