SHA-1, SHA-256, SHA-384 या SHA-512 का उपयोग करके संदेश और सीक्रेट key के लिए HMAC जनरेट करें, आपके ब्राउज़र में।
HMAC का उपयोग कैसे करें
एक hash algorithm चुनें।
अपनी सीक्रेट key और संदेश दर्ज करें।
hex digest के रूप में दिखाया गया 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.
अक्सर पूछे जाने वाले सवाल
एक keyed hash जो साबित करता है कि संदेश सीक्रेट key रखने वाले ने बनाया था और इसे बदला नहीं गया। API request signing और webhooks के लिए व्यापक रूप से उपयोग किया जाता है।
नहीं। HMAC Web Crypto API के साथ आपके ब्राउज़र में गणना किया जाता है, इसलिए key और संदेश कभी आपके डिवाइस से नहीं जाते।
SHA-256 सामान्य डिफ़ॉल्ट है। SHA-384 और SHA-512 अधिक मजबूत हैं; SHA-1 legacy है और नए सिस्टम के लिए बचना सबसे अच्छा है।
इस टूल को एम्बेड करें
इस टूल को अपनी वेबसाइट में जोड़ें। नीचे दिया स्निपेट कॉपी करें; यह अपने आप अपडेट रहता है।
<iframe src="https://monu.tools/embed/hi/hmac-generator" width="100%" height="640" style="border:1px solid #e5e5e5;border-radius:12px;max-width:680px" loading="lazy" title="Monu Tools"></iframe>संबंधित टूल
टेक्स्ट को Base64 में एनकोड करें या Base64 को वापस टेक्स्ट में डिकोड करें. स्वचालित दिशा पहचान के साथ UTF-8 सुरक्षित.
URL और URL घटकों को प्रतिशत-एनकोड और डिकोड करें, UTF-8 सुरक्षित.
JSON Web Token को डिकोड करके उसके हेडर और पेलोड का निरीक्षण करें, मानव-पठनीय समाप्ति और जारी करने के समय के साथ। पूरी तरह आपके ब्राउज़र में चलता है; टोकन कभी अपलोड नहीं होते।
किसी भी टेक्स्ट के SHA-1, SHA-256, SHA-384 और SHA-512 हैश सीधे अपने ब्राउज़र में जनरेट करें.