HMAC Hash & Message Authentication Code Generator
Calculate keyed-hash message authentication codes (HMAC-SHA256, SHA512, SHA384, SHA1) with Web Crypto API.
使い方・操作ガイド HMAC Hash & Message Authentication Code Generator
1. 入力値またはパラメータの設定
暗号化対象テキストの入力、アルゴリズムやキーの選択を行います。
2. Web Crypto APIによるセキュア処理
ブラウザ標準のWeb Cryptography APIが端末ローカルで安全に暗号化・ハッシュ計算を実行します。
3. 出力結果の安全なコピー
計算されたハッシュ値、生成されたパスワード、暗号文を安全にコピーします。
このツールの仕組み
Fast, secure HMAC generator for API signatures, webhook verification, and cryptographic integrity. Supports HMAC-SHA256, HMAC-SHA384, HMAC-SHA512, and HMAC-SHA1 algorithms. Generates outputs in Hexadecimal and Base64 formats with real-time updates. 100% client side.
W3C Web Cryptography APIを利用して揮発性メモリ内で暗号処理を行います。秘密情報がクラウドに送信されることはありません。
よくある質問
What is HMAC used for?
HMAC (Hash-based Message Authentication Code) is used to verify both the data integrity and authenticity of a message between two parties who share a secret key, common in REST APIs and webhooks.
Generate HMAC-SHA256 Signatures in Shell
重い外部パッケージを導入せず、ターミナル上で直接実行可能
$ echo -n "message_body" | openssl dgst -sha256 -hmac "secret_key"Calculates standard HMAC-SHA256 authentication code using OpenSSL.
$ python3 -c 'import hmac, hashlib, sys; print(hmac.new(b"secret_key", b"message_body", hashlib.sha256).hexdigest())'Standard Python hmac module producing hex digest signatures.
暗号ハッシュ&暗号化アルゴリズム規格
| アルゴリズム | 出力長 | セキュリティレベル | 主な用途 |
|---|---|---|---|
| SHA-256 | 256ビット (64文字) | NIST推奨 / 高セキュリティ | 電子署名、ビットコイン、TLS証明書 |
| SHA-512 | 512ビット (128文字) | 高セキュリティ / 64ビット最適化 | 高セキュリティチェックサム、パスワードハッシュ |
| Keccak-256 | 256ビット (64文字) | Ethereum標準 | Ethereumスマートコントラクト、アドレス生成 |
| AES-GCM | 128/256ビット共通鍵 | ミリタリーグレード認証付き暗号 | 安全なデータ暗号化、セキュア通信 |
| BIP-39 | 12〜24ワードニーモニック | CSPRNGエントロピー標準 | 決定論的ウォレットシード生成 |