HMAC

鍵を使ってメッセージ認証コードを計算し、完全性と送信元を確認します。

入力: テキスト (UTF-8) / ファイル結果: テキスト

テキスト入力

実行すると結果が表示されます

使用例

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.

入力

Hello, World!

Expected answer

757107ea0eb2509fc211221cce984b8a37570b6d7586c22c46f4379c8b043e17
鍵
{"option":"UTF8","string":"It's a Secret to Everybody"}
ハッシュ関数
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.

入力

Hello, World!

Expected answer

8fde2e970f9163923fb1cb61bb945626ff2b4091d87e622ee3ad600160592325
鍵
{"option":"UTF8","string":"It's a Secret to Everybody"}
ハッシュ関数
SHA256
A release-manifest signature

入力

release=2.1.0
artifact=demo.tar.gz

Expected answer

ab2ff1656e921ea466d34f64e280a86ee8e512ea3e6a0fa09f6a751e6aa06b28
鍵
{"option":"UTF8","string":"public-webhook-demo-key"}
ハッシュ関数
SHA256
A webhook-like deployment record

入力

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

Expected answer

b77da7848994256468008cd0323e78a1c6090fe316bc1eeec4a332f7dc750bc1
鍵
{"option":"UTF8","string":"public-webhook-demo-key"}
ハッシュ関数
SHA256
A Unicode name in a signed payload

入力

café

Expected answer

ef27c13811439814473f39cf8e9b8725044df9e5eec6e914707cbc103270dc17
鍵
{"option":"UTF8","string":"public-webhook-demo-key"}
ハッシュ関数
SHA256
A signature-sensitive trailing newline

入力

Hello, World!

Expected answer

ef446f15a5ca27f9c98a4126272b81fed4674eb0daa0e4c3cb50575876f758c9
鍵
{"option":"UTF8","string":"public-webhook-demo-key"}
ハッシュ関数
SHA256
An ASCII control message

入力

sensor=demo temperature=-12.5

Expected answer

af10b89f3fe3535319b0d7a7eded903ca3d8b61370d92a8c47283c0fe41aeca3
鍵
{"option":"UTF8","string":"public-webhook-demo-key"}
ハッシュ関数
SHA256
Decimal key comma-delimited matches Latin1 key (fromDecimal Auto delimiter regression)

入力

Hello, World!

Expected answer

9b641a008211bb0464a10899d5b37a24ab08ffcf839f5e74d17d99f856530957
鍵
{"option":"Decimal","string":"65,65"}
ハッシュ関数
SHA256
Decimal key space-delimited matches Latin1 key (fromDecimal Auto delimiter regression)

入力

Hello, World!

Expected answer

9b641a008211bb0464a10899d5b37a24ab08ffcf839f5e74d17d99f856530957
鍵
{"option":"Decimal","string":"65 65"}
ハッシュ関数
SHA256
Latin1 key matches space-delimited Decimal key (fromDecimal Auto delimiter regression)

入力

Hello, World!

Expected answer

9b641a008211bb0464a10899d5b37a24ab08ffcf839f5e74d17d99f856530957
鍵
{"option":"Latin1","string":"AA"}
ハッシュ関数
SHA256

関連ツール

ハッシュ

操作の参考資料

元の技術文書を見る (English)