Skip to content

profesorek96/XOR-File-Encode-Decode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published