Client Server Cracked byte Candidate bar (current try)
⚠ Couldn't load the 3D engineThree.js failed to load from the CDN. Check your connection and reload.

Timing Attack Lab

A byte-by-byte visualization of a real cryptographic side-channel: a naive string comparison stops the instant it finds a mismatch, so guesses that share more correct leading bytes with the secret take a fraction longer to reject. The 3D bar chart measures a simulated round trip for every possible byte value at the current position — in vulnerable mode one bar consistently stands out and the attack locks it in; switch to constant-time comparison and the signal disappears into noise. Toggle between the two modes to see exactly why secret == guess is unsafe for anything security-sensitive, and why libraries ship a dedicated constant-time compare instead.