Problem
Lightweight identity provider that signs, decodes, and verifies JSON Web Tokens with HMAC-SHA256, demonstrating tamper detection and expiry handling end to end.
Case study
Lightweight identity provider that signs, decodes, and verifies JSON Web Tokens with HMAC-SHA256, demonstrating tamper detection and expiry handling end to end.
Security engineer and full-stack developer
Lightweight identity provider that signs, decodes, and verifies JSON Web Tokens with HMAC-SHA256, demonstrating tamper detection and expiry handling end to end.
The implementation combines the following technologies and system concerns.
No project-specific security control is documented in the current project record. The case study avoids claiming controls that were not verified.
Verified evidence
No separate numeric outcome is documented, so this section shows shipped technical evidence without inventing metrics.
Screenshots and access
A scoped, fully functional recreation of this project's core feature runs below, live in your browser. Reset it, resize it, or expand it to full screen.
secureauth.zainkhalilkhan.com
SecureAuth
Security platform
A real HMAC JSON Web Token is signed in your browser with the Web Crypto API. Edit the claims, switch the algorithm, rotate the secret, or mangle the token body, then verify to watch tamper detection and expiry checks catch the change.
Signed JWT (editable, try changing one character)
Header
(empty)
Payload
(empty)
Signature (HMAC)
(no signature)
Client-side sandbox. State is in memory and nothing is sent to a server.