Key hypothesis (0–255) Current best guess Key recovered
⚠ Couldn't load the 3D engineThree.js failed to load from the CDN. Check your connection and reload.

Power Side-Channel Leakage Lab

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.