Giter Club home page Giter Club logo

rc6's Introduction

Implementation of the RC6 encryption algorithm

Installing

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.

Description

The algorithm can work with three types of data:

  • string,
  • bytes,
  • bytearray.
Except key. Key is always a string.

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

rc6's People

Contributors

sirpelmesh avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.