Analyser Bcrypt

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

Entrée: TexteRésultat: Texte

Saisie de texte

Exécuter pour voir le résultat

Exemples

Distinguer le coût 4 de 16 tours

Entrée

$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
Lire le format 2a publié

Entrée

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

Expected answer

Algorithm
bcrypt
Version
2a
Cost factor
10
Rounds
1024
Salt
qyon0LQCmMxpFFjwWH6Qh.
Digest
dDdhqntQh./IN0RXCc3XIMILuOYZKgK
Lire le préfixe 2b avec un autre coût

Entrée

$2b$05$pfhCAFCJh9MyGjtfB9I59ubDfo1fY5anA6uHlroj1GHTOLFd5Msii

Expected answer

Algorithm
bcrypt
Version
2b
Cost factor
5
Rounds
32
Salt
pfhCAFCJh9MyGjtfB9I59u
Digest
bDfo1fY5anA6uHlroj1GHTOLFd5Msii
Lire le coût 31 sans exécuter 2 milliards de tours

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

Entrée

$2y$31$pfhCAFCJh9MyGjtfB9I59ubDfo1fY5anA6uHlroj1GHTOLFd5Msii

Expected answer

Algorithm
bcrypt
Version
2y
Cost factor
31
Rounds
2147483648
Salt
pfhCAFCJh9MyGjtfB9I59u
Digest
bDfo1fY5anA6uHlroj1GHTOLFd5Msii
Refuser un condensat tronqué

Entrée

$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.
Refuser un coût hors limites

Entrée

$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.
Refuser un caractère hors alphabet bcrypt

Entrée

$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.

Outils associés

Hachage

Référence de l’opération

Voir la documentation technique originale (English)