Giter Club home page Giter Club logo

aes's Introduction

AES-128

This tool provides encryption/decrytion according to AES(128) standart. The standart is based on symmetric Rijndael algorithm and regulates work with 128/192/256 bit long keys. My tool works only with 128 bit length key, ie your secret key should be less than 16 symbols. The algorithm has been recognized impregnable even with this key-length. Link to the official document for details

How to use

The tool is able to encrypt anything which consist of bytes, type of file doesn't matter. The first way is to put aes128.py in project directoty or somewhere in PYTHON PATH and import

import aes128

cipher = aes128.encrypt(input_bytes, key)
message = aes128.decrypt(cipher, key)

Input and output types is described in doc strings. I assume you won't use not the English alphabet for the secret key, because ord() of symbols should return less than 255, ie we can keep it using just 1 byte per symbol.

The second way is to run main.py which provides a shy CLI-interface. Just run it and follow the instructions.

Author

If you want give me feedback - feel free to contact

aes's People

Contributors

dorinbotan avatar skycker 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.