Monu Tools

Γεννήτρια HMAC

Δημιουργήστε ένα HMAC για ένα μήνυμα και ένα μυστικό κλειδί με SHA-1, SHA-256, SHA-384 ή SHA-512, στο πρόγραμμα περιήγησής σας.

Πώς να χρησιμοποιήσετε το HMAC

  1. 01

    Επιλέξτε έναν αλγόριθμο κατακερματισμού.

  2. 02

    Εισαγάγετε το μυστικό κλειδί σας και το μήνυμα.

  3. 03

    Αντιγράψτε το HMAC, που εμφανίζεται ως δεκαεξαδικό digest.

Sign a message with a key

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.

What an HMAC proves

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.

Where HMAC shows up

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.

Choosing an algorithm

SHA-256 is the common default; SHA-384 and SHA-512 are stronger, while SHA-1 is legacy and best avoided for new systems.

Security note

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.

Συχνές ερωτήσεις

Τι είναι ένα HMAC;

Ένας κατακερματισμός με κλειδί που αποδεικνύει ότι ένα μήνυμα δημιουργήθηκε από κάποιον που κατέχει το μυστικό κλειδί και δεν αλλοιώθηκε. Χρησιμοποιείται ευρέως για υπογραφή αιτημάτων API και webhooks.

Αποστέλλεται το μυστικό μου κάπου;

Όχι. Το HMAC υπολογίζεται στο πρόγραμμα περιήγησής σας με το Web Crypto API, οπότε το κλειδί και το μήνυμα δεν φεύγουν ποτέ από τη συσκευή σας.

Ποιον αλγόριθμο να χρησιμοποιήσω;

Το SHA-256 είναι η κοινή προεπιλογή. Τα SHA-384 και SHA-512 είναι ισχυρότερα. Το SHA-1 είναι παρωχημένο και καλύτερα να αποφεύγεται σε νέα συστήματα.

Πηγές

Ενσωματώστε αυτό το εργαλείο

Προσθέστε αυτό το εργαλείο στον δικό σας ιστότοπο. Αντιγράψτε το παρακάτω απόσπασμα, ενημερώνεται αυτόματα.

<iframe src="https://monu.tools/embed/el/hmac-generator" width="100%" height="640" style="border:1px solid #e5e5e5;border-radius:12px;max-width:680px" loading="lazy" title="Monu Tools"></iframe>

Σχετικά εργαλεία