Lumaktaw sa content

Magpa-notify

Magpa-email kapag may bagong malaking security incident. Walang spam, puwede kang mag-unsubscribe anumang oras.

Ginagamit lang para sa mga email tungkol sa incident sa pwn.watch. Protektado ng Cloudflare Turnstile.

← Lahat ng security tools ng pwn.watch

Bcrypt Generator at Hash Verifier

I-hash ang password gamit ang bcrypt sa cost na 4–12, tingnan kung gaano katagal, himayin ang hash ayon sa version, cost, salt at checksum, at tingnan kung tugma ang password sa anumang $2a$ / $2b$ / $2y$ hash. Tumatakbo sa browser mo gamit ang bcryptjs.

Gumawa ng bcrypt hash

Cost 10 (1,024 rounds) — recommended production baseline

Good balance between login speed and offline cracking resistance.

Cost factor benchmark guide

Each +1 increment in bcrypt cost doubles the key-setup iterations (2cost). Target ~200–300 ms on your production auth servers. For greenfield systems, OWASP also recommends Argon2id (memory-hard against GPU/ASIC cracking).

CostIterationsNative serverBrowser JSRatingGuidance
416< 1 ms~2 msTesting onlyUnit tests & CI fixtures only; trivial to brute-force on GPUs.
8256~15 ms~30 msLegacyBelow OWASP minimum; rehash on next login.
101,024~60–80 ms~120 msRecommendedOWASP 2026 baseline floor for interactive web logins.
112,048~120–160 ms~250 msRecommendedBalanced latency and brute-force resistance for modern APIs.
124,096~240–320 ms~500 msHigh securityStrong choice for admin/privileged accounts; noticeable pause in JS.
138,192~500 ms~1 sServer-onlyUse native C/Rust bcrypt on backend workers; watch login DoS limits.
1416,384~1.0 s~2 s+Server-onlyOffline / low-concurrency vaults; consider Argon2id for new apps.

Kailangan mo ng mabilis na digest sa halip na password hash? Gamitin ang SHA-256 / HMAC tool.

Hatid ngTinkerer Club

Private club para sa mga may sariling servers, nagpapatakbo ng sariling AI, at $0/month ang gastos sa software.

FAQ tungkol sa Bcrypt

Anong cost factor ang dapat gamitin sa bcrypt?
Piliin ang pinakamataas na cost na nagpapanatili sa pag-hash ng login sa humigit-kumulang 250 ms sa production hardware mo. Karaniwang default ang Cost 10 sa 2026; karaniwan ang 12 para sa mga account na mas mahalagang protektahan. Dumodoble ang trabaho sa bawat +1.
Ano ang ibig sabihin ng $2a$, $2b$ at $2y$?
Mga prefix ito ng bersyon ng bcrypt. Ang $2b$ ang kasalukuyang bersyon ng OpenBSD at nag-aayos ng bug sa length-wrapping sa $2a$. Pangalan ng PHP para sa naayos na algorithm ang $2y$. Tinatanggap ng karamihan ng library ang tatlo kapag nagve-verify.
Ano ang istruktura ng bcrypt hash?
$2b$10$ + 22 character na salt + 31 character na hash, 60 character lahat. Sariling Base64 alphabet ng bcrypt (./A-Za-z0-9) ang gamit ng salt at hash.
May limitasyon ba sa haba ng password sa bcrypt?
Meron. Unang 72 byte lang ng UTF-8 password ang ginagamit; tahimik na pinuputol ang mas mahabang input. Nagbibigay ng babala ang tool kapag nangyari ito.
Ipinapadala ba ang password ko sa server?
Hindi. Nagaganap ang pag-hash at pag-verify sa browser mo gamit ang bcryptjs (pure JavaScript). Pero huwag mag-paste ng totoong production password sa kahit anong website.