← Back to Auth Vault

JWT Library

$4.99

Lightweight JSON Web Token library supporting HS256 (HMAC-SHA256) and RS256 (RSA-SHA256) signing algorithms. Standard claims validation (exp, nbf, iss, aud), custom claims, token refresh patterns, and JWK key management. Runs on Python 3.10+ stdlib only.

# Generate a JWT with HS256
python main.py generate --alg HS256 --secret my-secret --sub user123 --exp 3600

# Decode and validate a token
python main.py decode --token eyJhbGci... --secret my-secret

# Generate an RS256 key pair
python main.py keygen --output keys/
Grab This — $4.99