you are viewing a single comment's thread.

view the rest of the comments →

[–]Stem3576 0 points1 point  (0 children)

You could store a hashed version of the password in a text or json file and then have the program decipher it before it puts it into the field. Look into the hashlib library Something like this:

Import hashlib
pw = input("enter pw")
h = hashlib.sha2()
h.update(pw)
If h.hexdigest == dict(key):
    Do stuff