Bcrypt analysieren

Inspect a bcrypt hash’s version, cost factor, actual rounds, salt and digest. Parsing does not check a password or run bcrypt.

Eingabe: TextErgebnis: Text

Texteingabe

Ausführen, um das Ergebnis zu sehen

Beispiele

Kostenfaktor 4 von 16 Runden unterscheiden

Eingabe

$2y$04$61rxEDaR3PSKMDB/eWLl/urGkJ9Tv9DqmuoL2gfueVB.Ccqbw/JHq

Expected answer

Algorithm
bcrypt
Version
2y
Cost factor
4
Rounds
16
Salt
61rxEDaR3PSKMDB/eWLl/u
Digest
rGkJ9Tv9DqmuoL2gfueVB.Ccqbw/JHq
Das veröffentlichte 2a-Format lesen

Eingabe

$2a$10$qyon0LQCmMxpFFjwWH6Qh.dDdhqntQh./IN0RXCc3XIMILuOYZKgK

Expected answer

Algorithm
bcrypt
Version
2a
Cost factor
10
Rounds
1024
Salt
qyon0LQCmMxpFFjwWH6Qh.
Digest
dDdhqntQh./IN0RXCc3XIMILuOYZKgK
2b-Präfix mit anderem Kostenfaktor lesen

Eingabe

$2b$05$pfhCAFCJh9MyGjtfB9I59ubDfo1fY5anA6uHlroj1GHTOLFd5Msii

Expected answer

Algorithm
bcrypt
Version
2b
Cost factor
5
Rounds
32
Salt
pfhCAFCJh9MyGjtfB9I59u
Digest
bDfo1fY5anA6uHlroj1GHTOLFd5Msii
Kostenfaktor 31 ohne 2 Milliarden Runden lesen

A synthetic metadata record; changing the cost field does not create a valid password hash.

Eingabe

$2y$31$pfhCAFCJh9MyGjtfB9I59ubDfo1fY5anA6uHlroj1GHTOLFd5Msii

Expected answer

Algorithm
bcrypt
Version
2y
Cost factor
31
Rounds
2147483648
Salt
pfhCAFCJh9MyGjtfB9I59u
Digest
bDfo1fY5anA6uHlroj1GHTOLFd5Msii
Abgeschnittenen Hash ablehnen

Eingabe

$2y$04$61rxEDaR3PSKMDB/eWLl/urGkJ9Tv9DqmuoL2gfueVB.Ccqbw/JH

Expected rejection

Message contains
Invalid bcrypt hash: use a complete 60-character $2a$, $2b$ or $2y$ hash with cost 04–31.
Kostenfaktor außerhalb des Bereichs ablehnen

Eingabe

$2y$03$61rxEDaR3PSKMDB/eWLl/urGkJ9Tv9DqmuoL2gfueVB.Ccqbw/JHq

Expected rejection

Message contains
Invalid bcrypt hash: use a complete 60-character $2a$, $2b$ or $2y$ hash with cost 04–31.
Zeichen außerhalb des bcrypt-Alphabets ablehnen

Eingabe

$2y$04$61rxEDaR3PSKMDB/eWLl/urGkJ9Tv9DqmuoL2gfueVB.Ccqbw/JH@

Expected rejection

Message contains
Invalid bcrypt hash: use a complete 60-character $2a$, $2b$ or $2y$ hash with cost 04–31.

Ähnliche Werkzeuge

Hashing

Referenz zur Operation

Technische Originaldokumentation ansehen (English)