zig-jwt/README.md

778 B

JSON Web Tokens

This library implement signing and verification of JSON Web Tokens, or JWTs, based on RFC 7159.

Features

  • JWS tokens
  • JWE tokens
  • Sign
  • Verify
  • iss check
  • sub check
  • aud check
  • exp check
  • nbf check
  • iat check
  • jti check
  • typ check

Encryption algorithms:

  • HS256
  • HS384
  • HS512
  • PS256
  • PS384
  • PS512
  • RS256
  • RS384
  • RS512
  • ES256
  • ES256K
  • ES384
  • ES512
  • EdDSA