Saltar al contenido
uencoder

Calculadora de hash

Compute MD5, SHA-1, SHA-256, or SHA-512 hashes with hex or Base64 output. Gratis, privado y 100% del lado del cliente.

Probar un ejemplo:
MD5 no es adecuado para fines de seguridad.Local only

Historial reciente

Sin historial aún

Uso

  1. Escriba o pegue texto en el cuadro de entrada.
  2. Select the hash algorithm and output format.
  3. Copy the computed digest.

Tareas que usan esta herramienta

Comparar throughput of different hash algorithms
Measure cómo rápido SHA-256, SHA-3, BLAKE2/3, y RIPEMD-160 hash un given entrada a choose el derecha algoritmo para your throughput budget.
TAREA
Cifrar a large file with AES in chunks
Cifrar files too large for a single AES operation by processing them in chunks with a streaming mode, then decrypt to recover.
TAREA
Generar an HMAC and verify a message's authenticity
Calcular a keyed-hash (HMAC) of a message to prove it came from someone sharing the secret, then verify a received HMAC.
TAREA
Generar cryptographic nonces correctly
Un nonce (número usado una vez) debe ser único per cifrado bajo el mismo clave. Aprender cuando a usar random vs counter nonces y el consequences de reuse.
TAREA
Generar a Certificate Signing Request (CSR)
Un CSR contains your público clave y identity información, sent a un CA a obtain un signed TLS certificate. Aprender el required campos y verification process.
TAREA
Generar RSA key pair and inspect self-signed certificate fields
Crear un RSA clave pair para testing, y understand el estructura de un self-signed X.509 certificate para local development.
TAREA
Handle base de datos deadlocks
Deadlocks occur cuando transactions wait en cada other's locks. Aprender detection, prevention, y retry strategies.
TAREA
Hash un contraseña y verificar it later sin storing el plaintext
Usar un lento contraseña-hashing función (bcrypt/PBKDF2/scrypt) a almacenar un salted hash, luego verificar un candidate contraseña against it.
TAREA
Implementar CORS safely
CORS (Cross-Origin Resource Sharing) allows controlled cross-origin requests. Aprender a configure origins, métodos, headers, y credenciales safely.
TAREA
Implement Content Seguridad Policy (CSP)
CSP restricts qué resources (scripts, styles, images) un página puede cargar, preventing XSS y datos injection. Aprender policy directives y reporting.
TAREA
Implementar ECDSA signatures
ECDSA (Elliptic Curve Digital Firma Algoritmo) provides digital signatures con smaller claves than RSA. Aprender signing y verification.
TAREA
Implement HSTS (HTTP Strict Transport Seguridad)
HSTS forces browsers a siempre usar HTTPS para your site, preventing protocol downgrade attacks y SSL stripping.
TAREA
Implementar mutual TLS (mTLS) authentication
mTLS requires both cliente y servidor a present certificates, providing strong bidirectional authentication sin passwords. Común en servicio-a-servicio y zero-trust architectures.
TAREA
Implement rate limiting a prevent brute-force attacks
Rate limiting caps el número de requests per time window, preventing brute-force, credential stuffing, y DoS attacks. Aprender token bucket y sliding window algoritmos.
TAREA
Instalar un TLS certificate en your servidor
Después receiving un signed certificate de un CA, instalar it con el correct chain order y verificar el deployment con un TLS handshake.
TAREA
Prevenir clickjacking attacks
Clickjacking embeds your site en un invisible iframe y tricks usuarios en clicking. Aprender X-Frame-Opciones y CSP frame-ancestors.
TAREA
Prevent CSRF (Cross-Site Petición Forgery) attacks
CSRF tricks authenticated usuarios en submitting unwanted requests. Aprender anti-CSRF tokens, SameSite cookies, y double-submit patrones.
TAREA
Prevent timing attacks en cryptographic operations
Timing attacks exploit ejecución time variations a leak secrets. Aprender constant-time comparación, uniform processing, y blinding techniques.
TAREA
Rotate cifrado claves safely
Clave rotation limits el blast radius de un compromised clave. Aprender el double-cifrado migration patrón y cómo a re-cifrar datos sin downtime.
TAREA
Securely wipe sensitive datos de memory
Cryptographic claves y plaintext debe ser zeroed de memory después usar. Aprender por qué memset es no enough y cómo a prevent compiler optimization.
TAREA
Usar Bloom filters para establecer membership
Bloom filters probabilistically probar establecer membership con no falso negatives pero possible falso positives. Space-efficient para large sets.
TAREA
Usar consistent hashing para distribution
Consistent hashing distributes claves across servers con minimal redistribution cuando servers son added o removed. Usado en CDN y distributed caches.
TAREA
Usar constant-time comparación para secret verification
Cuando comparing secrets (passwords, tokens, MACs), el comparación debe tomar time independent de el valores a prevent timing side-channels.
TAREA
Usar cookies securely
Cookies debe ser establecer con Seguro, HttpOnly, SameSite, y proper expiration. Aprender cookie attributes y seguridad best practices.
TAREA
Usar un cryptographically seguro pseudorandom número generator
CSPRNGs produce salida indistinguishable de verdadero randomness. Aprender el correct APIs y por qué Math.random() es forbidden en seguridad contexts.
TAREA
Usar HTTP Digest Authentication
Digest Auth hashes credenciales con un servidor nonce, preventing contraseña exposure sin HTTPS. Aprender el challenge-respuesta flow y MD5 usage.
TAREA
Usar ECDH para clave exchange
ECDH (Elliptic Curve Diffie-Hellman) establishes shared secrets usando elliptic curves. Smaller claves, mismo seguridad como DH.
TAREA
Usar Merkle trees para datos verification
Merkle trees hash datos en un tree estructura, enabling efficient verification de individual elements sin downloading el entire dataset.
TAREA
Habilitar OCSP stapling para faster TLS handshakes
OCSP stapling lets el servidor provide un fresh revocation verificar a el cliente durante el TLS handshake, avoiding un separate round-trip a el CA.
TAREA
Usar optimistic concurrency control
Optimistic concurrency assumes conflicts son rare — no locks, solo versión checking en commit. Aprender el versión columna patrón.
TAREA
Usar Shamir's Secret Sharing a dividir claves
Shamir's Secret Sharing splits un secret en n shares, any k de que puede reconstruct it. Useful para clave escrow, distributed custody, y eliminating single points de failure.
TAREA
Usar base de datos sharding para horizontal scaling
Sharding distributes datos across multiple databases por un shard clave. Aprender sharding strategies, cross-shard queries, y trade-offs.
TAREA
Usar Subresource Integrity (SRI) para external resources
SRI ensures external scripts/styles tener no been tampered con por verifying sus hash. Aprender a generar y verificar integrity attributes.
TAREA
Usar base de datos transactions correctly
Transactions group operations en atomic units — todo tener éxito o todo fallar. Aprender ACID propiedades y isolation levels.
TAREA
Verificar archivo o datos integrity con un checksum
Calcular a CRC32 or SHA-256 checksum of data and compare it against a known value to detect corruption or tampering.
TAREA
Verificar un downloaded file's checksum
Calcular a file's hash locally, compare it with the publisher's checksum, and understand which algorithm to trust.
TAREA

Pipelines que usan esta herramienta

Preguntas frecuentes

Is MD5 safe for passwords?
No. MD5 is broken for security purposes and is provided only for checksums and legacy use. For password hashing use bcrypt, scrypt, or Argon2.
Which algorithm should I use?
Use SHA-256 or SHA-512 for any security-sensitive use case. SHA-1 is deprecated for collision resistance. MD5 is only for non-security checksums.
What output formats are available?
Lowercase hex (default), uppercase hex, and Base64. Hex is common for checksums; Base64 is shorter and used in JWT signatures and X.509 certificates.
Is the hash computed locally?
Yes. SHA-1/256/512 use the browser's native Web Crypto API (crypto.subtle.digest); MD5 uses spark-md5. No data leaves your browser.
Why does the empty string have a non-empty hash?
Hash functions process fixed-size blocks. The empty input still produces a digest because the function applies padding to a zero-length message. SHA-256 of '' is e3b0c442...b855.
Can I hash binary files?
Yes. Use the file picker to load a file; its bytes are hashed directly without text decoding, so images, archives, and binaries all work.

Herramientas relacionadas