Gizli anahtar ve SHA algoritmasıyla bir mesajın HMAC özetini oluşturun, tamamen tarayıcınızda.
HMAC nasıl kullanılır
Bir hash algoritması seçin.
Gizli anahtarınızı ve mesajı girin.
Onaltılık özet olarak gösterilen HMAC'ı kopyalayın.
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.
Sıkça sorulan sorular
Bir mesajın gizli anahtara sahip biri tarafından oluşturulduğunu ve değiştirilmediğini kanıtlayan anahtarlı bir hash. API istek imzalama ve webhook'larda yaygın olarak kullanılır.
Hayır. HMAC tarayıcınızda Web Crypto API ile hesaplanır, bu nedenle anahtar ve mesaj asla cihazınızdan ayrılmaz.
SHA-256 yaygın varsayılandır. SHA-384 ve SHA-512 daha güçlüdür; SHA-1 eski teknoloji olup yeni sistemler için kaçınılması daha iyidir.
Bu aracı göm
Bu aracı kendi web sitenize ekleyin. Aşağıdaki kod parçacığını kopyalayın; otomatik olarak güncel kalır.
<iframe src="https://monu.tools/embed/tr/hmac-generator" width="100%" height="640" style="border:1px solid #e5e5e5;border-radius:12px;max-width:680px" loading="lazy" title="Monu Tools"></iframe>İlgili araçlar
Metni Base64'e kodlayın veya Base64'ü tekrar metne çözün. Otomatik yön algılamayla UTF-8 güvenli.
URL'leri ve URL bileşenlerini yüzde kodlayın ve çözün, UTF-8 güvenli.
Bir JSON Web Token'ı çözerek başlığını ve yükünü, insan tarafından okunabilir son kullanma ve verme zamanlarıyla inceleyin. Tamamen tarayıcınızda çalışır; jeton asla yüklenmez.
Herhangi bir metnin SHA-1, SHA-256, SHA-384 ve SHA-512 hash'lerini doğrudan tarayıcınızda oluşturun.