HomeCybersecurityFormat-Preserving Tokenization Pipeline (2D)

Format-Preserving Tokenization Pipeline (2D)

Interactive 2D Feistel-network tokenization simulator: watch smart-data records stream through a color-coded pipeline as digit halves swap and mix round by round, drag to scrub the live view, inspect a full round-by-round diffusion trace of the last record, and try detokenizing with the right key and a guessed wrong one.

Cybersecurity2DAdvanced60 FPS📱 Mobile-adapted⇄ 3D version
2d-exp-smart-data-security ↗ Open standalone

Smart-data records — account numbers, smart-meter IDs, telemetry keys — stream through a 2D pipeline where each 8-digit value is split into a left and right half and pushed through a Feistel network, one round-function gate at a time. This companion to the 3D pipeline computes the identical Feistel math independently and adds a dedicated round-by-round diffusion trace beneath the live view, plus a draggable pipeline you can scrub without stopping the stream. Switch between reversible Format-Preserving Encryption, which any holder of the round key can run backward to recover the exact original digits, and one-way hash tokenization, which a vault alone can reverse — then try detokenizing the last completed record with the correct key and with a guessed wrong one to see why key secrecy is the entire security model.

⚙ Under the hood

Watch smart-data records flow through a 2D Feistel-network tokenization pipeline as colored digit halves swap and mix at each round gate, drag the live view to scrub the pipeline, inspect a full round-by-round diffusion trace of the last completed record, and try detokenizing it with the correct key and a guessed wrong one.

tokenizationfeistel-networkencryptiondata-protectionformat-preserving-encryptioncybersecurity

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)