Skip to content

Bcrypt hash og verifisering

Hash et passord med bcrypt, eller verifiser et passord mot en eksisterende bcrypt-hash. Konfigurerbar kostnadsfaktor. Kjører helt i nettleseren din.

Privacy & Security
cosmodev ~/tools/bcrypt-
2^12 = 4 096 runder

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.