JWT Encryption
Create and decode JSON Web Tokens
About JWT (JSON Web Token)
- JWT is a compact URL-safe means of representing claims to be transferred between two parties
- A JWT token consists of three parts: Header, Payload, and Signature, separated by dots
- The Header typically contains information about the algorithm used for signing
- The Payload contains the claims (statements about an entity and additional data)
- The Signature is used to verify that the message wasn't changed along the way
- Common algorithms: HS256 (HMAC with SHA-256), RS256 (RSA Signature with SHA-256)