Birdwatch Note Rating
2024-07-31 17:01:30 UTC - HELPFUL
Rated by Participant: FBFDF6D749CF300E42CA7F5C4B61210CECFDAA9E0FE65D5CBA9179711A6D28B6
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