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
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