Skip to main content

3 posts tagged with "Cryptography"

Hashes, HMACs, Signatures and Keys, Explained with Real Commands

View All Tags

How to Create an HMAC-SHA256 Signature in the Terminal

· 8 min read
Jagdish Kumawat
Founder @ Dewiride

An HMAC is a signature made with a secret key. Anyone with the same key can make the same signature, and anyone without it can't. HMAC-SHA256 signs JSON Web Tokens that use HS256, and many webhooks use it to prove where a request came from. This guide creates one in the terminal and checks it against the official test value.