This program encrypts or decrypts the file using the xor method. The encryption and decryption functions were written in both C and Python. Both functions open the file and process it. The result is an output file.
The GUI was created using the Tkinter library. The code written in C was compiled as a dynamic library and python calls functions from this file using the Cytpes package.
The second goal of this project is to compare python and C speed.
As you can see, encryption/decryption in python is 3 times slower than in C
- C++
- Python 3
- Pull repository
- Open file ./XOR_dll/xor_file.sln in Visual Studio 2017
- Compile this project to 64 bit relase
- Copy compile dll to ./Python3
- Run ./Python3/GUI.py
- Finished. Use this program :)
Project is: finished
See LICENSE.md
.