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.pyEdit 2: GitHub repo
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.
@drwhonerd99 help it won't work now
@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()
@Codemonkey51 Your are welcome!