RFC 7519 & 7518 RFC 8037 & 9964 100% In-Memory Zero Disk Storage

JSON Web Token (JWT) Studio & Debugger

Interactive debugger, claims inspector, signature verifier, and custom token generator supporting all 17 algorithms: HMAC, RSA, PSS, ECDSA (up to P-521), Ed25519, post-quantum ML-DSA (NIST FIPS 204), and unsecured tokens.

Encoded

Encoded Token

Color-Coded Token Structure:
■ Header ■ Payload ■ Signature
Header.Payload.Signature
Client & Server Cryptography
HEADER Algorithm & Token Type
PAYLOAD Data & Claims
JSON Object
SIGNATURE Cryptographic Keys & Signature
HMAC SHA-256
Paste SPKI Public Key PEM, X.509 Certificate PEM, or Post-Quantum Public Key.
Paste PKCS#8 or SEC1 Private Key PEM (required to cryptographically sign tokens).
Unsecured token selected: Algorithm none does not require a secret or private key.
Signature Verified HS256
Signature verified successfully using HS256
HMAC using SHA-256 hash algorithm
3 Parts (Header . Payload . Signature)

RFC 7519 Registered Claims Breakdown

UTC Timezone
exp (Expiration)
Claim not present (never expires)
iat (Issued At)
Thu, 18 Jan 2018 01:30:22 UTC
Unix: 1516239022
nbf (Not Before)
Claim not present
sub (Subject)
1234567890
iss (Issuer)
Claim not present
jti (JWT ID)
Claim not present
Decoded Header JSON
{
  "alg": "HS256",
  "typ": "JWT"
}
Decoded Payload JSON
{
  "sub": "1234567890",
  "name": "John Doe",
  "iat": 1516239022
}

JSON Web Token & Cryptographic Reference Guide

RFC 7519, RFC 7518, RFC 8037 & NIST FIPS 204 (RFC 9964)
17 Cryptographic Algorithms Supported

Anatomy of a Compact JSON Web Token

1. HEADER
JOSE Metadata

Specifies the cryptographic algorithm (alg), token type (typ), and optional key ID (kid). Base64URL-encoded without padding.

2. PAYLOAD
Claims & Attributes

Contains statements about the subject and additional data: registered claims (iss, sub, exp, iat) and custom claims. Base64URL-encoded.

3. SIGNATURE
Cryptographic Proof

Generated by signing the encoded header and payload: SIGN(base64Url(header) + "." + base64Url(payload), key). Guarantees authenticity and tamper resistance.

Complete 17-Algorithm Cryptographic Matrix

Algorithm Standard Cryptographic Family Key Requirement Signature / Hash Security Recommendation
HS256 RFC 7518 §3.2 Symmetric HMAC Shared secret (≥ 256 bits) SHA-256 (32 bytes) Recommended (Standard)
HS384 RFC 7518 §3.2 Symmetric HMAC Shared secret (≥ 384 bits) SHA-384 (48 bytes) Secure
HS512 RFC 7518 §3.2 Symmetric HMAC Shared secret (≥ 512 bits) SHA-512 (64 bytes) High Security
RS256 RFC 7518 §3.3 RSASSA-PKCS1-v1_5 RSA 2048+ bit Key Pair SHA-256 (256 bytes) Industry Standard
RS384 RFC 7518 §3.3 RSASSA-PKCS1-v1_5 RSA 3072+ bit Key Pair SHA-384 (384 bytes) Secure
RS512 RFC 7518 §3.3 RSASSA-PKCS1-v1_5 RSA 4096+ bit Key Pair SHA-512 (512 bytes) High Security
PS256 RFC 7518 §3.5 RSASSA-PSS (MGF1) RSA 2048+ bit Key Pair SHA-256 (256 bytes) Modern Probabilistic
PS384 RFC 7518 §3.5 RSASSA-PSS (MGF1) RSA 3072+ bit Key Pair SHA-384 (384 bytes) Modern Probabilistic
PS512 RFC 7518 §3.5 RSASSA-PSS (MGF1) RSA 4096+ bit Key Pair SHA-512 (512 bytes) Modern Probabilistic
ES256 RFC 7518 §3.4 ECDSA (NIST P-256) secp256r1 Key Pair SHA-256 (64 bytes) Compact & Fast
ES384 RFC 7518 §3.4 ECDSA (NIST P-384) secp384r1 Key Pair SHA-384 (96 bytes) High Security
ES512 RFC 7518 §3.4 ECDSA (NIST P-521) secp521r1 Key Pair SHA-512 (132 bytes) Top NIST Curve
EdDSA RFC 8037 Edwards-curve (Ed25519) Ed25519 (Curve25519) PureEdDSA (64 bytes) Fast & Side-Channel Resistant
ML-DSA-44 NIST FIPS 204 / RFC 9964 Module-Lattice (Dilithium) ML-DSA-44 (Level 2) 2,420 bytes Post-Quantum Safe (AES-128)
ML-DSA-65 NIST FIPS 204 / RFC 9964 Module-Lattice (Dilithium) ML-DSA-65 (Level 3) 3,309 bytes Post-Quantum Recommended (AES-192)
ML-DSA-87 NIST FIPS 204 / RFC 9964 Module-Lattice (Dilithium) ML-DSA-87 (Level 5) 4,627 bytes Post-Quantum Maximum (AES-256)
none RFC 7519 §6 Unsecured No key required None (empty signature) Insecure (Testing Only)

NIST FIPS 204: Post-Quantum Cryptography with ML-DSA

On August 13, 2024, NIST officially published FIPS 204, standardizing the Module-Lattice-Based Digital Signature Algorithm (ML-DSA), derived from the CRYSTALS-Dilithium project. RFC 9964 specifies JOSE and JWT integration for ML-DSA.

Quantum Resistance

Classical public-key cryptosystems (RSA, ECDSA, Ed25519) rely on factoring or discrete logarithms, which can be broken by quantum computers running Shor's algorithm. ML-DSA relies on the hardness of lattice problems (Module Learning with Errors), resilient to both classical and quantum cryptanalysis.

Signature & Key Sizes

ML-DSA signatures are larger than classical signatures (e.g. 3,309 bytes for ML-DSA-65 compared to 64 bytes for ES256). The WONTERA.IO JWT engine processes these large lattice vectors in RAM without overhead.

Security Levels

ML-DSA-44 matches NIST Security Category 2 (equivalent to SHA-256 collision resistance), ML-DSA-65 matches Category 3 (AES-192), and ML-DSA-87 matches Category 5 (AES-256).

Critical Security Best Practices

  • Never accept alg: "none" in production: Ensure backend verifiers reject unsecured tokens unconditionally.
  • Enforce strict algorithm pinning: Hardcode expected algorithms on the server rather than trusting the header's alg field.
  • Check temporal claims: Always validate exp (expiration), nbf (not before), and allow minimal clock skew (≤ 60 seconds).
  • Use high-entropy HMAC secrets: HS256 secrets must have at least 256 bits (32 bytes) of cryptographic randomness.

Frequently Asked Questions

No. All token decoding and generation occurs in-memory. Wontera never writes tokens, secret keys, or claims to persistent databases or disk logs, and buffers are wiped immediately upon response completion.

We support 17 distinct algorithms across standard and next-generation specifications: HMAC (HS256, HS384, HS512), RSA PKCS#1 v1.5 (RS256, RS384, RS512), RSA-PSS (PS256, PS384, PS512), ECDSA (ES256, ES384, ES512), Edwards-curve EdDSA (Ed25519), Post-Quantum NIST FIPS 204 (ML-DSA-44, ML-DSA-65, ML-DSA-87), and Unsecured (none).

For symmetric algorithms (HS256/384/512), you provide a shared secret. For asymmetric algorithms (RS*, PS*, ES*, EdDSA, ML-DSA), you verify using the corresponding PEM-encoded public key. The engine recomputes the signature over the base64Url(header) + '.' + base64Url(payload) and performs constant-time cryptographic verification.