Professional Documents
Culture Documents
try:
# This is how you try to pop open a password file.
password_file = open(password_doc, 'r')
except:
print("You have run an Error:")
print(password_doc, "has not been found.\nYou need to enter the
path of the file in a correct manner.")
quit()
if digest == input_hash:
# you should be comparing different hashes
print("Your Password has been found.\nThe desired password
is:", word)
password_found = 1
break