Security & CryptoLesson 346Free preview
Bcrypt Hash Generator
This lesson is part of Web Developer Tools · All levels
Summary
Bcrypt is a password hashing algorithm that was deliberately created slow and adaptive. Each hash uses a unique salt, so the same two passwords still produce different hashes. The cost factor determines how heavy the computing is, and the value can be increased as the hardware's capabilities increase.
Key points
- Bcrypt is a one-way hash password, not encryption.
- Unique salt is made automatically and stored together with hash
- Cost factor determines the number of computational rounds
- Hash bcrypt generally has a length of 60 characters
- Use cost 10-12 and raise it when the server device allows.
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.