Hashes/Cripto
Hash Generator
Cálculo de hashes de texto o archivo con trece algoritmos a la vez: MD5, SHA-1, SHA-256, SHA-384, SHA-512, SHA3-256, SHA3-512, RIPEMD-160, BLAKE2b, BLAKE2s, BLAKE3, CRC32 y Adler-32.
A hash function turns arbitrary data into a fixed-length digest that's unique to that content — changing even one letter of the input completely changes the output. This tool computes a hash of text or a file using 13 popular algorithms at once, right in your browser.
Which algorithm to pick
- MD5 and SHA-1 — cryptographically broken (practical collision attacks exist) but still used for file-integrity checks where an attack is unlikely.
- SHA-256 / SHA-512 (the SHA-2 family) — the standard for signatures, certificates, and blockchains; no known practical attacks as of 2026.
- SHA3 and BLAKE2/BLAKE3 — newer designs; BLAKE3 in particular is very fast and parallelizes well on large files.
- CRC32 / Adler-32 — not cryptographic, meant only for detecting accidental corruption (e.g. in ZIP files), not for defending against deliberate tampering.
Common uses
- Verifying that a downloaded file isn't corrupted or tampered with, by comparing its hash to the one published by the developer.
- Generating a content-based cache key or identifier.
- Quickly comparing two large files or texts without a byte-by-byte diff.
Things to keep in mind
Hashing isn't encryption — it's one-way, so you can't recover the original data from a hash.
Plain fast hashes (MD5, SHA-256) are unsuitable for passwords — use a dedicated slow algorithm like bcrypt, Argon2, or PBKDF2 instead.
Artículo sobre esta herramienta: Hash Generator: en qué se diferencian MD5, SHA-1 y SHA-256
Preguntas frecuentes
¿Qué algoritmo de hash debería usar?
Para checksums de propósito general (integridad de archivos, deduplicación), SHA-256 es una opción moderna sólida por defecto. Evita MD5 y SHA-1 para cualquier cosa sensible a la seguridad, ya que ambos están rotos frente a ataques de colisión deliberados, aunque siguen siendo válidos para comprobaciones rápidas y no adversariales.
¿Se puede revertir un hash al dato original?
No. Las funciones de hash criptográficas son unidireccionales — solo puedes verificar una coincidencia hasheando otra entrada y comparando el resultado, no recuperar los datos originales a partir del hash.
¿Esta herramienta sube mi archivo o texto para calcular el hash?
No. Todo el hasheo se ejecuta localmente en tu navegador mediante la Web Crypto API — nada se envía a un servidor, así que también funciona sin conexión.
¿Para qué sirve realmente SHA-3 si SHA-2 sigue siendo seguro?
SHA-3 se eligió como «seguro» ante una futura vulnerabilidad en SHA-2 — está construido sobre una arquitectura interna completamente distinta (Keccak). Como no se han encontrado ataques prácticos contra SHA-2, SHA-256 sigue siendo el estándar por defecto, y SHA-3 se usa de forma puntual.
¿Un hash más largo significa automáticamente más seguridad?
No siempre. La longitud de la salida importa, pero la resistencia del algoritmo depende sobre todo de su construcción interna — SHA-1, con su salida de 160 bits, es vulnerable a colisiones, mientras que un algoritmo moderno bien diseñado y más corto en bits puede ser más seguro.