profesorek96 / XOR-File-Encode-Decode

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

XOR-File-Encode-Decode

Table of contents

General info

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

Screenshots

Example screenshot 1

Example screenshot 1

Technologies

  • C++
  • Python 3

Setup

  1. Pull repository
  2. Open file ./XOR_dll/xor_file.sln in Visual Studio 2017
  3. Compile this project to 64 bit relase
  4. Copy compile dll to ./Python3
  5. Run ./Python3/GUI.py
  6. Finished. Use this program :)

Status

Project is: finished

License

See LICENSE.md.

About

License:MIT License


Languages

Language:Python 66.7%Language:C++ 25.5%Language:C 7.8%