How this tool computes its result
Strips a leading "Bearer " prefix, splits the token on `.` and requires exactly 3 parts. Header and payload segments are base64url-decoded with a hand-rolled routine (swap `-`/`_` back to `+`/`/`, pad with `=`, `atob`, then `TextDecoder`) and parsed as JSON. Signature verification is HS256-only: it imports the provided secret as an HMAC-SHA256 `CryptoKey` via the Web Crypto API, signs `{header}.{payload}`, re-encodes the result as base64url, and compares it to the token's signature segment using a constant-time XOR loop (`timingSafeEqual`). `exp`/`nbf`/`iat` claims are rendered as human-readable dates by multiplying the Unix-seconds value by 1000.
