Security
Hash passwords with bcrypt or verify a password against an existing hash — entirely in your browser.
Hashing runs locally in your browser. Your password is never uploaded, logged, or stored.
bcrypt is a password hashing function built to be slow: each cost increment doubles the work an attacker must do per guess, while a 128-bit random salt makes rainbow tables useless. Unlike fast hashes such as SHA-256 or MD5, bcrypt stays expensive to brute-force even on GPUs. The salt here comes from crypto.getRandomValues, never a predictable PRNG.
Producing a server config line instead of a raw hash? Use the htpasswd Generator, and create the underlying password with the Password Generator.
Hash the passwords for fixture accounts before committing seed data.
Verify whether a user-supplied password matches the stored hash when debugging auth issues.
Decode JWT header and payload locally, then run security checks: weak algorithms, expiry, risky claims.
Generate strong random passwords with crypto.getRandomValues — pick length and character sets.
Generate cryptographically secure random tokens in hex, base64, or URL-safe base64.
Generate Apache/Nginx .htpasswd entries with bcrypt or {SHA} schemes — fully client-side.
Looking for something else? Browse all tools