브라우저에서 SHA-1, SHA-256, SHA-384 또는 SHA-512를 사용하여 메시지와 비밀키로 HMAC을 생성합니다.
HMAC 사용 방법
해시 알고리즘을 선택하세요.
비밀키와 메시지를 입력하세요.
16진수 다이제스트로 표시된 HMAC을 복사하세요.
An HMAC generator that signs a message with a secret key using SHA-1, SHA-256, SHA-384 or SHA-512, and shows the result as a hex digest. Pick an algorithm, enter the key and the message, and copy the signature.
HMAC stands for hash-based message authentication code. It is a keyed hash: combining a secret key with the message proves two things at once, that the message was created by someone who holds the key, and that it has not been altered in transit.
The difference from a plain hash is the key. Anyone can compute a SHA-256 of a message, but only someone with the shared secret can produce the correct HMAC, which is what turns a checksum into proof of authenticity.
That is why it is everywhere in web infrastructure. Webhooks from services like Stripe, GitHub and Slack sign each request with an HMAC so your server can verify the call really came from them, and many APIs sign requests the same way.
SHA-256 is the common default; SHA-384 and SHA-512 are stronger, while SHA-1 is legacy and best avoided for new systems.
It runs locally with the Web Crypto API, so your key and message are never uploaded, which is important since the key is a secret.
자주 묻는 질문
메시지가 비밀키를 가진 사람에 의해 생성되었고 변조되지 않았음을 증명하는 키 있는 해시입니다. API 요청 서명 및 웹훅에 널리 사용됩니다.
아니요. HMAC는 Web Crypto API를 사용하여 브라우저에서 계산되므로 키와 메시지가 기기 밖으로 나가지 않습니다.
SHA-256이 일반적인 기본값입니다. SHA-384와 SHA-512는 더 강력하고, SHA-1은 레거시이므로 새 시스템에서는 피하는 것이 좋습니다.
이 도구 임베드하기
이 도구를 직접 운영하는 웹사이트에 추가하세요. 아래 코드를 복사하면 자동으로 최신 상태로 유지됩니다.
<iframe src="https://monu.tools/embed/ko/hmac-generator" width="100%" height="640" style="border:1px solid #e5e5e5;border-radius:12px;max-width:680px" loading="lazy" title="Monu Tools"></iframe>관련 도구