A password engine
Codemonkey51 (10)

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 (46)

Hi! This is a cool project. One thing though: MD5 generally considered insecure. Use sha256 or scrypt from the hashlib module. Here is an article about this.

NotTani (46)

@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()