Categoría
Hashing y cripto
Todas las herramientas y artículos de esta categoría, reunidos en un solo lugar.
Herramientas
Generador de hash (SHA-1/256/384/512)
Calcula resúmenes SHA-1, SHA-256, SHA-384 y SHA-512 de cualquier texto, mostrados en hex y Base64, usando el Web Crypto nativo del navegador. Se ejecuta por completo en tu navegador.
Generador de HMAC (SHA-256/384/512)
Calcula un HMAC con clave sobre un mensaje usando tu clave secreta, mostrado en hex y Base64, vía el Web Crypto nativo del navegador. La misma construcción que el verificador de JWT usa para HS256. Tu clave nunca sale de tu navegador.
Hash Preimage Finder
Watch a bounded, local brute-force search recover a weak hash input in seconds, or run out of keyspace on anything with real entropy. No wordlist, no table, just your browser. A demonstration of why fast, unsalted hashes fail.
Artículos
Hash, cifrado y codificación: tres cosas distintas
Tres operaciones que se confunden constantemente, separadas con claridad por dos preguntas: ¿es reversible y necesita una clave?
LeerHash criptográfico: SHA-256 y la familia SHA-2
Qué garantiza una función de hash, las propiedades que la hacen criptográfica y por qué un resumen no es cifrado.
LeerElegir un hash: MD5, SHA-1, SHA-2, SHA-3 y BLAKE
Qué funciones de hash siguen siendo seguras, cuáles están rotas, cuáles son sus tamaños de salida y cómo elegir la adecuada.
LeerColisiones, resistencia a preimagen y el límite del cumpleaños
Las tres propiedades de seguridad que debe tener un hash criptográfico, por qué importan las colisiones y la matemática del cumpleaños que fija la fuerza real.
LeerAlmacenar contraseñas: bcrypt, scrypt y Argon2
Por qué un hash rápido como SHA-256 es la herramienta equivocada para contraseñas, y qué hacen en realidad el salado y los factores de trabajo.
LeerHMAC: hash con clave para autenticación de mensajes
Por qué un hash simple prueba integridad pero no autenticidad, cómo una clave secreta lo resuelve y por qué importa la estructura de HMAC.
LeerPor qué HMAC, y no hash(clave + mensaje)
El ataque de extensión de longitud que rompe el hashing con clave ingenuo, y la construcción anidada que HMAC usa para derrotarlo.
LeerAutenticar solicitudes de API con HMAC
Cómo un secreto compartido y un hash permiten a un servidor confiar en una solicitud que no vio realizarse, y cómo encaja la protección contra repetición.
LeerVerificar un HMAC con seguridad: tiempo constante y repetición
Por qué comparar firmas con == filtra un canal lateral de tiempo, y por qué una firma válida por sí sola no detiene una petición repetida.
LeerWhy Cryptographic Hashes Are One-Way
A cryptographic hash maps any input to a fixed-size digest and is designed so that recovering the input from the digest is infeasible. That property, preimage resistance, is why you cannot decrypt a hash. The only ways to reverse one are to look it up or to guess-and-check, both of which are search, not inversion.
LeerBrute Force vs Lookup Tables: Two Ways to Reverse a Hash
Since a hash cannot be inverted, reversing one means searching, and there are two families. Precompute a giant table of input-to-hash pairs and look the hash up (what CrackStation does), or generate candidates on the fly and hash each until one matches (brute force). They trade storage for compute in opposite directions.
LeerWhy Salting Defeats Precomputed Tables
A salt is a unique random value stored with each password hash and mixed in before hashing. It makes identical passwords hash differently, which destroys the economics of precomputed tables: an attacker would need a separate table for every salt. Salting is the specific defense that neutralizes lookup services and rainbow tables.
LeerSlow KDFs: bcrypt, scrypt, and Argon2
Salting defeats precomputation but not a targeted guess-and-check attack; a fast hash still lets an attacker try billions of candidates per second. Slow key derivation functions fix that by making each guess deliberately expensive and tunable, cutting an attacker's rate by many orders of magnitude. These are what you should store passwords with.
LeerKeyspace, Entropy, and Crack Time
Whether brute force can reverse a hash comes down to keyspace size versus the attacker's hashing rate. Keyspace grows exponentially with length and alphabet, so a few extra characters move a secret from cracked in seconds to infeasible for millennia. This is the arithmetic behind why length and randomness matter most.
LeerChoosing a Password Hash
Storing passwords safely is a solved problem: use a purpose-built, salted, slow password hash, not a raw digest. This is a short decision guide, from the algorithm to pick to the parameters to set and the mistakes to avoid, aligned with OWASP and NIST guidance.
Leer