Skip to content

Bcrypt 해시 및 검증

비밀번호를 bcrypt로 해싱하거나 기존 bcrypt 해시와 비교하여 검증합니다. 코스트 인자를 설정할 수 있으며 브라우저에서 완전히 동작합니다.

Privacy & Security
cosmodev ~/tools/bcrypt-
2^12 = 4 096 라운드

Higher = slower + more secure. Cost 12 takes about 4ms on a typical laptop; 10-12 is the common production range.

Runs 100% in your browser - the password and hash never leave your device.

Send to AI
I am storing user passwords for a web app with at most 10 000 users. Compare bcrypt (cost 12), scrypt, and Argon2id for this workload: resistance to GPU cracking, memory requirements, DoS risk on the login endpoint, and the parameters you would actually deploy. Give a concrete recommendation and the exact parameter values.