Power Side-Channel Leakage Lab
Interactive 3D differential power analysis lab: watch a correlation attack recover a secret key byte from simulated power traces, then flip on Boolean masking and see the leak vanish.
Cryptographic hardware doesn't just compute — it draws power while it computes, and that power trace can leak the secret it was trying to protect. This lab runs a real correlation power analysis (CPA/DPA) attack against a simulated encryption core: every trace's power is modeled from the Hamming weight of an S-box output, 256 key-byte hypotheses are scored live with Pearson correlation, and the correct key's bar visibly separates from the field as traces accumulate. Flip on Boolean masking to watch the exact same attack collapse to noise — the same first-order countermeasure used in real smart-cards, HSMs and secure microcontrollers — or crank up device noise to see the signal-to-noise trade-off chip designers exploit on purpose.
Run a live differential power analysis (DPA) attack against a simulated encryption core, then enable Boolean masking to watch the correlation leak that recovers the secret key disappear.
3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install