JSON Web Tokens for Zig
 
 
Go to file
LeRoyce Pearson 264fa944f1 Add HS512 algorithm 2021-05-11 08:32:17 -06:00
.gitignore Implement validation of HS256 JWTs 2021-05-10 23:57:41 -06:00
LICENSE Add MIT license 2021-05-11 02:11:14 -06:00
README.md Add HS512 algorithm 2021-05-11 08:32:17 -06:00
build.zig Implement validation of HS256 JWTs 2021-05-10 23:57:41 -06:00
gyro.zzz Add jwt package to gyro.zzz 2021-05-11 02:13:59 -06:00
jwt.zig Add HS512 algorithm 2021-05-11 08:32:17 -06:00
zig.mod Implement validation of HS256 JWTs 2021-05-10 23:57:41 -06:00

README.md

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