This project is part of the course SM404 - Computational Introduction to Number Theory. It implements the Integer version of the Reed-Solomon Error Correcting code.
The implemented code performs the following tasks:
- Setup global parameters for the Reed-Solomon code.
- Generate primes and setup parameters for the code.
- Encode a message using the Reed-Solomon code for transmission.
- Simulate transmission with corruption.
- Decode the received message using the Reed-Solomon code.
- Extended Euclid's Greatest Common Divisor Algorithm
- Binary version of Euclid's Greatest Common Divisor Algorithm
- Chineese Remainder Theorem
- Miller Rabin Primality Test
- Binary Exponentiation
- Modular Inverse
- Ensure you have Python installed on your system.
- Install the required library
gmpy2
usingpip install gmpy2
. - Run the Python script
Number_Theory.py
. - Enter the message, message bound, and corruption fraction as prompted.
- The script will output the decoded message if successful, otherwise, it will return an error.
Number_Theory.py
: Main Python script implementing the Reed-Solomon code.README.md
: This readme file providing information about the project.- (You can list any other relevant files here)
- The assignment details and requirements are based on the course SM404 and the textbook by V. Shoup.
- The code implementation is based on algorithms and concepts discussed in the textbook.
- Sarvesh Kumar . A
- Ayush Gupta