Skip to content

One-bit error correction in data using Hamming code

Notifications You must be signed in to change notification settings

mrcybear/hamming-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

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.

About

One-bit error correction in data using Hamming code

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages