These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
For this project, you will need Python 3.10 or higher, and maybe pandas and openpyxl libraries for avalanche effect.
You can install the latest Python version from the official website, libraries can be installed using these commands:
pip install pandas
pip install openpyxl
There is also a requirements.txt.
The algorithm can work with three types of data:
- string,
- bytes,
- bytearray.
There are the following files:
- random_data.py contains class RandomData which generates a string of particular length,
- variables.py contains class Variables which stores constants and variables for RC6,
- utils.py contains class Utils which contains the functions necessary for encryption and decryption,
- rc6.py contains class RC6 that performs encryption / decryption using the RC6 algorithm,
- and finally the main.py, where stored functions for testing the RC6 algorithm, calculation of the average avalanche effect and the main function for encryption and decryption.
This program was created for my course work, and it free to use :D
Good luck!
SirPelmesh