For Hobbyists & Makers · Hamming Code
Hamming Code for a hash collision
Built for hobbyists & makers exploring it for fun. Play with real physics and math, no license and no setup — just open and tinker. Simulate a hash collision live below — adjust the inputs and watch it respond, right in your browser.
Hamming Error CorrectionLive
fixing a flipped bit
transmitted codeword (7 bits)
0110011
received (with your error)
0110011
no error detected
Controls
Data bits (4)
Corrupt a transmitted bit
Presets
no error
The Hamming(7,4) code adds three parity bits to four data bits so any single-bit error can be found and fixed. Each parity bit checks a different overlapping group; after transmission, recomputing them gives a syndrome whose binary value points straight at the corrupted position. Error-correcting codes like this protect RAM, deep-space links, and QR codes.
Data Inspector
Parity bits010
Syndrome0
Error atnone
Corrected?yes ✓
Governing equation
Reading this result: No bit was flipped, so all three parity checks pass and the syndrome is 0 — the receiver accepts the codeword unchanged.
Runs locally in your browser — free forever. Scale to the cloud when reality gets heavy.
More with Hamming Code
Frequently asked questions
- Is this good for hobbyists & makers?
- Yes — this version of "Hamming Code for a hash collision" is framed for hobbyists & makers exploring it for fun. Play with real physics and math, no license and no setup — just open and tinker.
- Do I need to install anything?
- No. It runs in any modern browser, free, with no account required.