LFSR Keystream: Register Bits, Period and Linear Complexity Profile (2D)
The same LFSR model as the 3D scene: register cells with XOR taps, the keystream window, the attacker's recovered register, the linear complexity staircase and the autocorrelation of one period.
Run a linear feedback shift register as a toy stream cipher and see why it is breakable. A primitive polynomial gives period 2^n - 1 with 2^(n-1) ones and autocorrelation exactly -1; an attacker who sees only 2n keystream bits recovers the whole register with Berlekamp-Massey and predicts every later bit. Blender-built register cells, XOR gate and bit stream, with independent numerical checks built in.
The same LFSR model as the 3D scene: register cells with XOR taps, the keystream window, the attacker's recovered register, the linear complexity staircase and the autocorrelation of one period.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install