HMACジェネレーター
SHA-1、SHA-256、SHA-384、SHA-512を使ってHMAC署名を生成します。
このツールの使い方
- 1
Pick a hash algorithm from the dropdown: SHA-1, SHA-256, SHA-384, or SHA-512.
- 2
Type or paste your shared secret key into the key field.
- 3
Type or paste the message you want to authenticate into the message box.
- 4
Click Generate to compute the HMAC; the lowercase hex digest appears below.
HMACジェネレーターとは何ですか?
HMAC(Hash-based Message Authentication Code)は、共有された秘密鍵を使って、メッセージの完全性と真正性の両方を検証します。これはWebhookの署名、APIリクエストの署名(AWS Signature V4、StripeのWebhook)、そしてJWTのHS256/HS384/HS512アルゴリズムの基盤となっています。
よくある活用例
Verify an incoming webhook by recomputing the HMAC of the raw request body with your endpoint's signing secret and comparing it to the provider's signature header.
Check a Stripe webhook locally: HMAC-SHA256 the timestamped payload with your whsec_ secret to confirm your verification logic before deploying.
Debug a mismatched signature by pasting the exact bytes your server and client each signed to see which side is wrong.
Generate a quick integrity tag for a config file or message so a teammate with the same key can confirm it was not altered in transit.
Teach or learn how HMAC differs from a bare hash by toggling algorithms and watching the digest length change.
Sanity-check a single HMAC step of a larger signing scheme (such as one round of the AWS SigV4 key-derivation chain) during development.
よくある質問
HMACはハッシュと同じものですか?▼
関連ツール
パスワードハッシュジェネレーター(PBKDF2)
PBKDF2-SHA256を使い、ブラウザ内で安全なパスワードハッシュを生成します。MD5や単純なSHAより強力で、作業係数を調整できます。
AES-256暗号化
AES-256-GCMでテキストを暗号化・復号します。鍵はPBKDF2-SHA256を使ってパスフレーズから導出されます。
2FA用QRコードジェネレーター
Google Authenticator、Authy、1Password、その他の2FAアプリ向けにTOTPのQRコードを生成します。
パスワード強度チェッカー
パスワードのエントロピーを、文字集合の大きさや一般的なパスワードのリストと照らし合わせて確認します。完全にオフラインで動作します。
シーザー暗号エンコーダー&デコーダー
シーザー暗号でテキストをエンコードまたはデコードします。固定のシフト量に従って文字を置き換える方式です。
ROT13エンコーダー&デコーダー
ROT13でテキストをエンコードまたはデコードします。13文字ずらすシーザー暗号で、自己反転型の暗号です。