PPolySim OS
For Researchers · Hamming Code

Hamming Code for a message digest

Built for researchers prototyping or validating an idea. Prototype fast, reproduce exactly, and share a citable, interactive version of your model. Simulate a message digest live below — adjust the inputs and watch it respond, right in your browser.

Hamming Error CorrectionLive
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.

▶ Run in Python

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.

or unlock everything with Pro →

More with Hamming Code

Frequently asked questions

Is this good for researchers?
Yes — this version of "Hamming Code for a message digest" is framed for researchers prototyping or validating an idea. Prototype fast, reproduce exactly, and share a citable, interactive version of your model.
Do I need to install anything?
No. It runs in any modern browser, free, with no account required.