HMAC

Calcola un codice di autenticazione con chiave per integrità e provenienza.

Input: Testo (UTF-8) / Un fileRisultato: Testo

Inserimento di testo

Esegui per vedere il risultato

Esempi

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.

Input

Hello, World!

Expected answer

757107ea0eb2509fc211221cce984b8a37570b6d7586c22c46f4379c8b043e17
Chiave
{"option":"UTF8","string":"It's a Secret to Everybody"}
Funzione di hashing
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.

Input

Hello, World!

Expected answer

8fde2e970f9163923fb1cb61bb945626ff2b4091d87e622ee3ad600160592325
Chiave
{"option":"UTF8","string":"It's a Secret to Everybody"}
Funzione di hashing
SHA256
A release-manifest signature

Input

release=2.1.0
artifact=demo.tar.gz

Expected answer

ab2ff1656e921ea466d34f64e280a86ee8e512ea3e6a0fa09f6a751e6aa06b28
Chiave
{"option":"UTF8","string":"public-webhook-demo-key"}
Funzione di hashing
SHA256
A webhook-like deployment record

Input

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

Expected answer

b77da7848994256468008cd0323e78a1c6090fe316bc1eeec4a332f7dc750bc1
Chiave
{"option":"UTF8","string":"public-webhook-demo-key"}
Funzione di hashing
SHA256
A Unicode name in a signed payload

Input

café

Expected answer

ef27c13811439814473f39cf8e9b8725044df9e5eec6e914707cbc103270dc17
Chiave
{"option":"UTF8","string":"public-webhook-demo-key"}
Funzione di hashing
SHA256
A signature-sensitive trailing newline

Input

Hello, World!

Expected answer

ef446f15a5ca27f9c98a4126272b81fed4674eb0daa0e4c3cb50575876f758c9
Chiave
{"option":"UTF8","string":"public-webhook-demo-key"}
Funzione di hashing
SHA256
An ASCII control message

Input

sensor=demo temperature=-12.5

Expected answer

af10b89f3fe3535319b0d7a7eded903ca3d8b61370d92a8c47283c0fe41aeca3
Chiave
{"option":"UTF8","string":"public-webhook-demo-key"}
Funzione di hashing
SHA256
Decimal key comma-delimited matches Latin1 key (fromDecimal Auto delimiter regression)

Input

Hello, World!

Expected answer

9b641a008211bb0464a10899d5b37a24ab08ffcf839f5e74d17d99f856530957
Chiave
{"option":"Decimal","string":"65,65"}
Funzione di hashing
SHA256
Decimal key space-delimited matches Latin1 key (fromDecimal Auto delimiter regression)

Input

Hello, World!

Expected answer

9b641a008211bb0464a10899d5b37a24ab08ffcf839f5e74d17d99f856530957
Chiave
{"option":"Decimal","string":"65 65"}
Funzione di hashing
SHA256
Latin1 key matches space-delimited Decimal key (fromDecimal Auto delimiter regression)

Input

Hello, World!

Expected answer

9b641a008211bb0464a10899d5b37a24ab08ffcf839f5e74d17d99f856530957
Chiave
{"option":"Latin1","string":"AA"}
Funzione di hashing
SHA256

Strumenti correlati

Hash

Riferimento dell’operazione

Vedi la documentazione tecnica originale (English)