Aller au contenu
uencoder

Hachage un mot de passe et vérifier it later sans storing le plaintext

Utiliser un lent mot de passe-hashing fonction (bcrypt/PBKDF2/scrypt) en stocker un salted hachage, puis vérifier un candidate mot de passe against it.

  1. 1

    Never store passwords in plaintext or with fast hashes (MD5/SHA-256) — they are trivially brute-forced. Use a slow, salted KDF (bcrypt, scrypt, PBKDF2) that deliberately costs CPU/memory per attempt, making bulk cracking infeasible.

  2. 2
    Générateur de hash bcrypt →

    Enter the password and a cost factor (10-12 for interactive, 12-14 for sensitive). The tool outputs a self-describing hash containing the algorithm, cost, salt, and digest.

  3. 3
    Comparateur de hash →

    To verify: enter the candidate password and the stored bcrypt hash. The tool re-hashes with the embedded salt and cost and compares in constant time — returns true/false without revealing timing information.

  4. 4

    Use the hash-and-verify chain to test the full lifecycle: hash a password, then verify a correct and an incorrect candidate in one pass.

Questions fréquentes

Why can't I use SHA-256 for password hashing?
SHA-256 is fast — a GPU can compute billions per second. bcrypt/scrypt are deliberately slow and memory-hard, making each guess cost milliseconds. This asymmetry is what protects slow hashes against offline brute force.
What cost factor should I choose?
Choose the highest cost that still meets your latency budget. For bcrypt, cost 10 takes ~100ms, cost 12 ~400ms, cost 14 ~1.6s. Increase the cost as hardware speeds up — the hash embeds the cost so old hashes still verify.

Workflows résolvant cette tâche

Hash BLAKE avec somme de contrôle CRC32
Calculer le hash BLAKE puis la somme de contrôle CRC32 pour vérifier l'intégrité.
PIPELINE
Hacher le contenu et coder en Base64
Calculer un hachage de l'entrée et coder le condensat en Base64 pour un transport compact.
PIPELINE
Hacher le texte et vérifier l'intégrité
Calculer un hachage du texte d'entrée et le comparer à un hachage attendu pour vérifier l'intégrité.
PIPELINE
Hacher le texte et vérifier avec somme CRC32
Calculer à la fois un hachage cryptographique SHA-256 et une somme de contrôle CRC32 pour la vérification d'intégrité des données.
PIPELINE
Formater JSON et calculer une somme de contrôle d'intégrité
Pretty-printer un document JSON et calculer une somme CRC32 pour détecter toute modification ultérieure.
PIPELINE
Hacher MD5 puis coder en Base58
Calculer le hash MD5 puis coder en Base58 pour une représentation compacte.
PIPELINE
Comparaison de vitesse multi-hash
Hacher l'entrée et benchmarker plusieurs algorithmes de hachage pour comparer leur vitesse et sortie.
PIPELINE
Générer un mot de passe et hacher Bcrypt
Générer un mot de passe aléatoire puis hacher en Bcrypt pour les systèmes d'authentification.
PIPELINE
Générer un mot de passe et hacher avec bcrypt
Générer un mot de passe aléatoire fort et le hacher immédiatement avec bcrypt pour un stockage sûr.
PIPELINE
Générer un mot de passe et hacher
Générer un mot de passe aléatoire puis le hacher pour un stockage sécurisé.
PIPELINE
Hash SHA3-256 avec somme CRC32
Calculer le hash SHA3-256 puis la somme CRC32 pour une double vérification d'intégrité.
PIPELINE
Hacher SHA-512 puis Hex
Calculer le hash SHA-512 puis coder en Hex pour lisibilité.
PIPELINE
Inverser le texte et hacher
Inverser le texte puis calculer le hachage SHA-256 du résultat inversé.
PIPELINE
Brouiller le texte et hacher
Brouiller le texte puis hacher le résultat brouillé.
PIPELINE

Outils associés