Monu Tools

Bcrypt-generaattori ja -tarkistin

Tiivista salasana bcryptilla ja tarkista salasana bcrypt-tiivistetta vasten, kokonaan selaimessasi.

Nain kaytat tyokalua Bcrypt

  1. 01

    Valitse Tiivista luodaksesi tiivisteen, tai Tarkista tarkistaaksesi sellaisen.

  2. 02

    Anna salasana, ja tiiviste tarkistettaessa.

  3. 03

    Lue bcrypt-tiiviste tai vastaavuustulos.

Hash and verify passwords

A bcrypt tool that hashes a password at a cost you choose, and verifies a password against an existing bcrypt hash. Everything runs locally in your browser, so passwords stay on your device.

Why bcrypt for passwords

Bcrypt is an adaptive password-hashing function designed specifically for storing passwords. Unlike a fast hash such as SHA-256, it is deliberately slow and includes a built-in salt, which is exactly what you want when defending stored passwords.

The cost factor

The cost factor (the rounds) sets how much work each hash takes. Every extra round doubles the computation, so raising the cost makes large-scale brute-force and GPU attacks far slower, while a single login stays fast enough. A value of 10 to 12 is a common choice.

Salt and verification

Bcrypt mixes a random salt into every hash, so the same password produces a different hash each time. That defeats precomputed rainbow tables, and verification still works because the salt is stored inside the hash itself.

To check a password, the verify mode reads the salt and cost out of the stored hash, hashes the candidate the same way, and compares, which is why you only need the hash and the password, not the original salt.

Security note

Hashing and verifying run entirely in your browser, so nothing is uploaded. Even so, avoid pasting real production passwords on a shared computer.

Usein kysytyt kysymykset

Mita kierrokset ovat?

Kustannustekija: jokainen lisakierros kaksinkertaistaa tiivisteen laskemiseen tarvittavan tyon, hidastaen raakavoimahyokkayksia. 10-12 on yleinen valinta.

Miksi saman salasanan tiiviste on eri joka kerta?

Bcrypt sisaltaa satunnaisen suolan jokaisessa tiivisteessa, joten tuloste eroaa jopa samalle salasanalle. Tarkistus toimii silti, koska suola tallennetaan tiivisteen sisaan.

Onko tata turvallista kayttaa?

Tiivistys tapahtuu kokonaan selaimessasi, joten salasanoja ei ladata. Silti vald liittamasta oikeita tuotantosalasanoja jaetuilla tietokoneilla.

Lähteet

Upota tämä työkalu

Lisää tämä työkalu omalle verkkosivustollesi. Kopioi alla oleva koodinpätkä, niin se pysyy ajan tasalla automaattisesti.

<iframe src="https://monu.tools/embed/fi/bcrypt-generator" width="100%" height="640" style="border:1px solid #e5e5e5;border-radius:12px;max-width:680px" loading="lazy" title="Monu Tools"></iframe>

Liittyvat tyokalut