Saltar al contenido principal
Z

What is Hash function?

A hash function maps input data of any size to a fixed-size string of bytes (the hash or digest). The same input always produces the same output, small input changes produce very different outputs, and the process is one-way — you cannot reverse a hash back to its input.

Good cryptographic hashes are deterministic, one-way, and collision-resistant (it is infeasible to find two inputs with the same hash). Examples include MD5 and SHA-1 (now broken for security) and SHA-256 (the modern standard).

Hashes are used for file-integrity checks, digital signatures, deduplication and — with a salt and a slow KDF like bcrypt or argon2 — password storage.

Hash function tools

Preguntas frecuentes

¿Sigue siendo seguro SHA-1?

No — SHA-1 ya tiene ataques de colisión demostrados en la práctica (SHAttered, 2017). No lo uses para firmas digitales ni para ningún propósito que dependa de resistencia a la falsificación. Utiliza SHA-256 en su lugar.

¿Por qué se sigue usando SHA-1?

Por compatibilidad con versiones anteriores — Git lo usa para los IDs de objeto (con un parche que detecta colisiones), algunos sistemas TLS antiguos y checksums de archivos heredados de hace años.

¿Funciona esta herramienta sin conexión?

Sí — el hash se calcula completamente en tu navegador una vez que la página ha terminado de cargar.