Data & Encoding Privacy & Format Questions
How are JWT expiration (exp) and issued-at (iat) timestamps calculated?
Under RFC 7519, JWT NumericDate claims (exp, iat, and nbf) are integer Unix epoch timestamps representing seconds elapsed since 1970-01-01T00:00:00Z. A token is active when Current_Epoch_Seconds >= nbf and Current_Epoch_Seconds < exp.
How much does Base64 encoding increase file size?
Base64 encodes every 3 bytes (24 bits) of binary data into 4 ASCII characters (32 bits), increasing payload size by approximately 33.3% (4/3 ratio) plus optional "=" padding.