A password engine
Codemonkey51 (44)

This is a tool you can use for secure passwords. Also, only the original password will work and there is no way to un-encrypt it. Use this however you want. All I ask is if you give some credit.
Edit: main code now in password.py
Edit 2: GitHub repo

You are viewing a single comment. View All
NotTani (62)

@Codemonkey51 You'll want add .hexdigest() to the end of the .sha256() function (both times) to turn it into text to you can compare it. Hope this helps and happy coding! Oh, and change line 9 to:

PASSWORD = hashlib.sha256(input("Whats your password? ").encode()).hexdigest()