Bcrypt Utility
Component Detail
Infrastructure
low complexity
backend
0
Dependencies
1
Dependents
0
Entities
0
Integrations
Description
Infrastructure utility wrapping bcrypt password hashing at minimum cost factor 12. Used exclusively by Auth Service to hash passwords on account creation and verify them on login. Never stores or logs raw passwords.
bcrypt-utility
Responsibilities
- Hash passwords using bcrypt at minimum cost factor 12
- Verify submitted plaintext passwords against stored hashes
Interfaces
hash(password: String) → String
verify(password: String, hash: String) → bool