To SHA512-hash a password in MySQL database by Python -
This question is based on.
I would like to know how you can do your password by SHA1 and then remove clear-text passwords by Python in a MySQL database.
How can you get a password in a MySQL database?
As a documentation, you should not use the library since Python 2.5.
It's very easy to make it.
hexhash = hashlib.sha512 ("some text"). Hexdigest ()
This hex number will be easy to submit to a database.
Comments
Post a Comment