Difficulty: Intermediate
Why is Bcrypt better than SHA-256 for passwords?
It has an adaptive work factor (it's deliberately slow) and automatic salting, which makes brute-forcing computationally expensive.
Bcrypt, Salt, Cost Factor, Rainbow Tables
JavaScript is required for the interactive version of this page, including the code playground and progress tracking. Browse all InternHack tutorials.