Tiny Online Tools logoTiny Online Toolssearchツールを検索…grid_viewすべてのツール
ホームchevron_rightセキュリティツールchevron_rightHMAC ジェネレーターHMAC ジェネレーター

HMAC ジェネレーター

テキストから HMAC 署名を生成します。

info上で秘密鍵とメッセージを入力すると HMAC 署名を生成できます。

関連ツール

MD5 ジェネレーター

MD5 ジェネレーター

MD5 ハッシュを素早く生成します。

SHA-256 生成ツール

SHA-256 生成ツール

テキストから SHA-256 ハッシュを生成します。

Bcrypt ジェネレーター

Bcrypt ジェネレーター

bcrypt パスワードハッシュを生成します。

JWT 生成・デコード

JWT 生成・デコード

HMAC で JSON Web Token を生成・署名するか、任意の JWT をデコードします。

PDF 圧縮

PDF 圧縮

アップロードせずに PDF ドキュメントのファイルサイズを削減します。

画像フォーマット変換

画像フォーマット変換

JPG、PNG、WebPなどの形式間で画像を変換します。

テキスト反転ツール

テキスト反転ツール

文字順を逆にしてテキストを視覚的に反転します。

apps

もっと見る

無料オンラインツールの全コレクションを見る。

HMAC Generator

While regular hashing functions like SHA-256 prove data integrity ("this file hasn't been modified"), they don't prove origin ("this file came from someone I trust"). HMAC (Hash-based Message Authentication Code) solves that by combining a message with a secret key, producing a signature that only someone with the secret key could have 生成d. This tool 作成s HMAC signatures used in API authentication, webhook verification, and digital signatures.

How HMAC differs from plain hashing

If you hash a message, anyone can verify the hash matches—they just recompute it. But with HMAC, you hash the message combined with a secret key. An attacker who intercepts the message and hash cannot 作成 a valid HMAC for a modified message without knowing the secret key. This makes HMAC perfect for situations where you need to prove both integrity and authenticity.

Real-world HMAC usage

Web APIs frequently use HMAC for request signing. A client hashes their request body with their secret API key and includes the resulting signature in the request. The server repeats this calculation and verifies the signature matches—proving the request came from the legitimate client and wasn't tampered with. Webhook providers use the same approach: they sign the webhook payload with their secret, and you verify the signature before processing the webhook.

Algorithm selection

This tool supports HMAC with SHA-1, SHA-256, SHA-384, and SHA-512. Prefer SHA-256 or higher for new applications. SHA-1 is older and less secure, though for HMAC specifically (rather than plain hashing), SHA-1 remains acceptable in some legacy systems.

Key management

The strength of HMAC depends entirely on keeping the secret key secret. If your API key or signing key is compromised, attackers can forge valid signatures. Store keys securely (in environment variables or secrets managers), never commit them to version control, and rotate them periodically.