Feistel Cipher: Rounds and the Avalanche Effect
Interactive 3D Feistel-network cipher: encrypt a 16-bit block through configurable rounds, flip one input bit, and watch the avalanche effect scramble the ciphertext round by round.
This simulator builds a real 16-bit Feistel-network block cipher — the same round structure used by DES — and renders every round as a 3D tower of glowing bits. Type a plaintext block and a key in hexadecimal, choose how many rounds to run, and step or play through the encryption to watch the substitution-box round function scramble the block layer by layer. Toggling the avalanche twin flips a single input bit and re-runs the identical key schedule alongside the original, so you can watch two nearly-identical blocks diverge into unrecognizably different ciphertexts — a live demonstration of why a well-designed cipher makes a one-bit change ripple through roughly half the output.
This simulation allows you to experiment with various cryptographic algorithms and techniques, such as RSA encryption and Diffie-Hellman key exchange. By manipulating parameters and observing the results, you can gain a deeper understanding of how these systems protect data in modern digital communications.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install