Coder Social home page Coder Social logo

aeswpython's Introduction

AESwPython

Implementing AES-128 in Python

Implemented vanilla AES-128 in Python3 Source: https://github.com/boppreh/aes/blob/master/aes.py


to run this ./src/main.py


This is the output of a test made on random picked plain strings

  • input length: 1024
  • Total time elapsed: 0.051485299999999956 seconds
  • Encryption time: 0.02237230000000001 seconds
  • Decryption time: 0.02910809999999997 seconds
  • input length: 102400
  • Total time elapsed: 4.7761286 seconds
  • Encryption time: 2.0138437 seconds
  • Decryption time: 2.7622816999999995 seconds
  • input length: 10240000
  • Total time elapsed: 467.3741961 seconds
  • Encryption time: 195.2238076 seconds
  • Decryption time: 272.1503844 seconds

TODO:

- something to read string from file instead of wasting time picking random characters
- at least implement three out of five operation modes
ECB, CBC, CFB, OFB, CTR

aeswpython's People

Contributors

lautz97 avatar

Watchers

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