Create, decode, and verify JSON Web Tokens signed with HMAC algorithms
Specifies the token type (typ: JWT) and the signing algorithm (alg: HS256). This object is Base64Url-encoded to form the first segment of the token.
Contains claims — statements about the entity (user) and additional metadata. Claims can be registered (standardised), public, or private. The payload is Base64Url-encoded but not encrypted.
Computed as HMAC(algorithm, base64url(header) + "." + base64url(payload), secret). Modifying even a single character in the header or payload produces a completely different signature, invalidating the token.
We use cookies
We use Google Analytics to understand how visitors use this site. No personal data is sold or shared with third parties. Privacy Policy