namishkhanna / hacktoberfest2021

Make your first PR. A beginner friendly repository made specifically for open source beginners. Add any program under any language (it can be anything from a simple program to a complex data structure algorithm). Happy coding...
43 stars 131 forks source link

Added a tool that helps understanding hamming code #222

Closed amit-sides closed 2 years ago

amit-sides commented 2 years ago

I created this script when I learned for my Networking course in university, I figured it can help other people too... Example usage: To calculate hamming code of 10011010 (8): python3 hamming.py -p 10011010 To validate hamming code and display it's code bits for 011100101010 (12): python3 hamming.py -c -p 011100101010

image