Lightweight Cryptography for IoT: ASCON Permutation Lab
Run the real NIST-standard ASCON permutation on a simulated battery-powered IoT sensor and watch its 320-bit state evolve round by round in 3D, while a comparative energy model shows why lightweight ciphers beat AES-128 on constrained hardware.
Battery-powered IoT sensors cannot afford the RAM, code size, or energy budget of full AES-128 — which is why NIST standardized ASCON in 2023 as the lightweight authenticated-encryption cipher for constrained devices. This simulator executes ASCON's real 320-bit sponge permutation — the actual bit-sliced 5-bit S-box and rotate-XOR linear diffusion layer, computed with BigInt 64-bit words — and renders every one of the 320 state bits as a live-updating cube grid in 3D as encryption proceeds round by round. Adjustable message size and MCU clock drive a comparative energy model against AES-128 and a simulated coin-cell battery, making concrete why lightweight cryptography exists: the same security guarantees, at a fraction of the energy cost, for the billions of constrained IoT endpoints that a full block cipher would drain in days.
Run the real NIST-standard ASCON permutation on a simulated battery-powered IoT sensor and watch its 320-bit state evolve round by round in 3D, while a comparative energy model shows why lightweight ciphers beat AES-128 on constrained hardware.
3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install