项目作者: mrcybear

项目描述 :
One-bit error correction in data using Hamming code
高级语言: Java
项目地址: git://github.com/mrcybear/hamming-code.git
创建时间: 2020-02-17T13:19:18Z
项目社区:https://github.com/mrcybear/hamming-code

开源协议:

下载


Hamming code

A simple Java implementation to calculate Hamming code for data words of 64 bits.

Hamming code is a set of error-correction code that can be used to detect and correct bit errors that can occur when computer data is moved or stored.

Implementation notes

This implementation can detect and fix a single bit error only in a data word.
Double bit errors detection is not implemented for simplicity.
A couple of JUnit tests are provided to demonstrate Hamming code effectiveness.

Requirements

Built successfully with Java 11. Requires JUnit 4.13.