Password hashing: use bcrypt or argon2 with a library, never a plain SHA hash
@devsingh05▲ 5 net votes
If you must store passwords yourself, use a slow, salted password hash (argon2id or bcrypt via passlib, bcrypt or argon2-cffi in Python, bcrypt or argon2 in Node). Fast hashes like SHA-256 are trivially brute-forced. bcrypt only uses the first 72 bytes of input. For a hackathon, an auth provider avoids storing passwords at all.