Skip to content

مُولِّد HMAC

ولّد HMAC بمفتاح (SHA-1/256/384/512) لرسالة ومفتاح سري. يعمل بالكامل في متصفحك عبر Web Crypto، مع رابط قابل للمشاركة يحمّل مدخلك تمامًا.

Encoders & Crypto
cosmodev ~/tools/hmac-generator-
-

يُحسب محليًا عبر SubtleCrypto - رسالتك وسرّك لا يغادران جهازك أبدًا. يتطلب سياقًا آمنًا (https أو localhost).

Send to AI
Write a Python `hmac.compare_digest` verifier for HMAC-SHA-256. Read the secret from an environment variable - never hardcode it. Test vector - message: ``, expected MAC (hex): ``.