Python's safest method to store and retrieve passwords from a database.
Posted
by ensnare
on Stack Overflow
See other posts from Stack Overflow
or by ensnare
Published on 2010-04-03T17:44:57Z
Indexed on
2010/04/03
17:53 UTC
Read the original article
Hit count: 145
Looking to store usernames and passwords in a database, and am wondering what the safest way to do so is. I know I have to use a salt somewhere, but am not sure how to generate it securely or how to apply it to crypt the password. Some sample Python code would be greatly appreciated. Thanks.
© Stack Overflow or respective owner