مولّد HMAC
أنشئ توقيعات HMAC باستخدام SHA-1 أو SHA-256 أو SHA-384 أو SHA-512.
كيفية استخدام هذه الأداة
- 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، وwebhooks الخاصة بـ Stripe)، وخوارزميات HS256/HS384/HS512 في JWT.
حالات الاستخدام الشائعة
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 هو نفسه التجزئة (hash)؟▼
أدوات ذات صلة
مولّد تجزئة (Hash) كلمات المرور (PBKDF2)
أنشئ تجزئات آمنة لكلمات المرور في متصفحك باستخدام PBKDF2-SHA256. أقوى من MD5 أو SHA البسيط، مع عامل عمل قابل للتعديل.
تشفير AES-256
شفّر النص وافكُك تشفيره باستخدام AES-256-GCM. تُشتق المفتاح من عبارة المرور لديك عبر PBKDF2-SHA256.
مولّد رموز QR للمصادقة الثنائية (2FA)
أنشئ رموز QR من نوع TOTP لتطبيقات Google Authenticator وAuthy و1Password وغيرها من تطبيقات المصادقة الثنائية (2FA).
أداة فحص قوة كلمة المرور
تفحص عشوائية (entropy) كلمة مرورك مقابل حجم مجموعة الأحرف وقوائم كلمات المرور الشائعة. تعمل بلا اتصال تمامًا.
أداة ترميز وفك ترميز شيفرة قيصر
رمّز أو فك ترميز النص باستخدام شيفرة قيصر: استبدال الأحرف وفق إزاحة ثابتة.
أداة ترميز وفك ترميز ROT13
رمّز النص أو فك ترميزه باستخدام ROT13: وهو شيفرة قيصر بإزاحة 13 موضعًا، ذاتية العكس.