Skip to content

แฮชและตรวจสอบด้วย Bcrypt

แฮชรหัสผ่านด้วย bcrypt หรือตรวจสอบรหัสผ่านกับแฮช bcrypt ที่มีอยู่ ปรับ cost factor ได้ตามต้องการ ทำงานทั้งหมดในเบราว์เซอร์ของคุณ

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.