HMAC

Calcula un código de autenticación con clave para comprobar integridad y origen.

Entrada: Texto (UTF-8) / Un archivoResultado: Texto

Entrada de texto

Ejecuta para ver el resultado

Ejemplos

Example keys and passwords are public test material.

Reproduce GitHub's webhook signature, then break it with one newline — step 1

Check exact request-body bytes before blaming a webhook secret or algorithm.

Entrada

Hello, World!

Expected answer

757107ea0eb2509fc211221cce984b8a37570b6d7586c22c46f4379c8b043e17
Clave
{"option":"UTF8","string":"It's a Secret to Everybody"}
Función de hash
SHA256
Reproduce GitHub's webhook signature, then break it with one newline — step 2

Check exact request-body bytes before blaming a webhook secret or algorithm.

Entrada

Hello, World!

Expected answer

8fde2e970f9163923fb1cb61bb945626ff2b4091d87e622ee3ad600160592325
Clave
{"option":"UTF8","string":"It's a Secret to Everybody"}
Función de hash
SHA256
A release-manifest signature

Entrada

release=2.1.0
artifact=demo.tar.gz

Expected answer

ab2ff1656e921ea466d34f64e280a86ee8e512ea3e6a0fa09f6a751e6aa06b28
Clave
{"option":"UTF8","string":"public-webhook-demo-key"}
Función de hash
SHA256
A webhook-like deployment record

Entrada

{"event":"deploy","project":"demo","ready":true}

Expected answer

b77da7848994256468008cd0323e78a1c6090fe316bc1eeec4a332f7dc750bc1
Clave
{"option":"UTF8","string":"public-webhook-demo-key"}
Función de hash
SHA256
A Unicode name in a signed payload

Entrada

café

Expected answer

ef27c13811439814473f39cf8e9b8725044df9e5eec6e914707cbc103270dc17
Clave
{"option":"UTF8","string":"public-webhook-demo-key"}
Función de hash
SHA256
A signature-sensitive trailing newline

Entrada

Hello, World!

Expected answer

ef446f15a5ca27f9c98a4126272b81fed4674eb0daa0e4c3cb50575876f758c9
Clave
{"option":"UTF8","string":"public-webhook-demo-key"}
Función de hash
SHA256
An ASCII control message

Entrada

sensor=demo temperature=-12.5

Expected answer

af10b89f3fe3535319b0d7a7eded903ca3d8b61370d92a8c47283c0fe41aeca3
Clave
{"option":"UTF8","string":"public-webhook-demo-key"}
Función de hash
SHA256
Decimal key comma-delimited matches Latin1 key (fromDecimal Auto delimiter regression)

Entrada

Hello, World!

Expected answer

9b641a008211bb0464a10899d5b37a24ab08ffcf839f5e74d17d99f856530957
Clave
{"option":"Decimal","string":"65,65"}
Función de hash
SHA256
Decimal key space-delimited matches Latin1 key (fromDecimal Auto delimiter regression)

Entrada

Hello, World!

Expected answer

9b641a008211bb0464a10899d5b37a24ab08ffcf839f5e74d17d99f856530957
Clave
{"option":"Decimal","string":"65 65"}
Función de hash
SHA256
Latin1 key matches space-delimited Decimal key (fromDecimal Auto delimiter regression)

Entrada

Hello, World!

Expected answer

9b641a008211bb0464a10899d5b37a24ab08ffcf839f5e74d17d99f856530957
Clave
{"option":"Latin1","string":"AA"}
Función de hash
SHA256

Herramientas relacionadas

Hashes

Referencia de la operación

Ver la documentación técnica original (English)