/hamming-code-correction-simulator

Data Communications Assignment

Primary LanguageJavaScriptMIT LicenseMIT

Hamming Code Correction Simulator C(7,4)

It's a Hamming Code Correction simulator as the name suggests. It's for my Data Communications lecture assignment. So I intended to achieve just the functionality. I'm gonna refactor this repo some time in the future for code quality.

Installation Steps

Flow

  • It takes text input.
  • Convert input to binary.
  • Add parities according to Hamming coding.
  • Randomly change 1 bit in 7 bits.
  • Show changed (noised) text.
  • Find the changed bits and correct them.