Birdwatch Note Rating
2024-08-07 00:03:48 UTC - HELPFUL
Rated by Participant: 023D74111C9A5879F4E9960D38B5126B2147BA025F741AA748B660FDB0A2D5A6
Participant Details
Original Note:
Storing plaintext passwords is insecure. Always hash passwords using bcrypt, Argon2, or PBKDF2 at least. Example: ```python import bcrypt hashed = bcrypt.hashpw(password.encode('utf-8'), bcrypt.gensalt()) bcrypt.checkpw(password.encode('utf-8'), hashed) ``` https://cheatsheetseries.owasp.org/cheatsheets/Password_Storage_Cheat_Sheet.html https://pages.nist.gov/800-63-3/sp800-63b.html#sec5
All Note Details