Saltar al contenido
uencoder

Generador de HMAC

Generate HMAC (Keyed-Hash Message Authentication Code) with SHA-1/256/512. Gratis, privado y 100% del lado del cliente.

Probar un ejemplo:
Local only

Historial reciente

Sin historial aún

Uso

  1. Enter the message to authenticate.
  2. Provide a secret key.
  3. Select the hash algorithm and output format.
  4. Copy the HMAC digest.

Tareas que usan esta herramienta

Derive un cryptographic clave de un contraseña usando un KDF
Turn un human-memorable contraseña en un fixed-longitud clave suitable para AES o HMAC usando PBKDF2, scrypt, o bcrypt con un salt.
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 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 cryptographically secure session keys
Session claves debe ser unpredictable y único per session. Aprender a generar them usando un CSPRNG y derive sub-claves con HKDF.
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 fin-a-fin cifrado (E2EE)
Fin-a-fin cifrado ensures solo el communicating parties puede leer messages — no intermediary servidor holds descifrado claves. Aprender el hybrid cifrado patrón.
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
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
Usar AES en CTR modo como un stream cifrador
AES-CTR turns el bloque cifrador en un keystream generator, eliminating padding. Aprender correct counter management y por qué you debe añadir authentication separately.
TAREA
Usar AES en GCM modo para authenticated cifrado
AES-GCM provides both confidentiality y integrity en un single operación, detecting tampering sin un separate HMAC. It es el recommended AES modo para la mayoría aplicaciones.
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 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 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 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

Pipelines que usan esta herramienta

Preguntas frecuentes

What is HMAC used for?
HMAC verifies both data integrity and authenticity using a secret key. It is used in API signing, JWT, and webhooks.
Which hash should I use?
SHA-256 is recommended. SHA-1 is provided for legacy compatibility. SHA-512 offers a larger security margin.

Herramientas relacionadas