Coder Social home page Coder Social logo

randika00 / aes-encryption-decryption Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 596 KB

Encryption and Decryption using AES (Advanced Encryption Standards)

License: MIT License

PowerShell 75.88% Batchfile 5.21% Python 18.91%
aes aes-encryption cryptography decryption encryption

aes-encryption-decryption's Introduction

AES-Encryption-Decryption

The Advanced Encryption Standard (AES)

An algorithm that uses the same key to encrypt and decrypt protected data. Instead of a single round of encryption, data is put through several rounds of substitution, transposition, and mixing to make it harder to compromise.That means it takes 128 bits as input and outputs 128 bits of encrypted cipher text as output. AES relies on substitution-permutation network principle which means it is performed using a series of linked operations which involves replacing and shuffling of the input data.

The number of rounds depends on the key length as follows :

 *  128 bit key – 10 rounds
 *  192 bit key – 12 rounds
 *  256 bit key – 14 rounds

Encryption - AES considers each block as a 16 byte (4 byte x 4 byte = 128 ) grid in a column major arrangement.

 [ b0  | b1  | b2  | b3  ]         [ b0  | b1  | b2  | b3  ]
 | b4  | b5  | b6  | b7  |    ->   | b5  | b6  | b7  | b4  |
 | b8  | b9  | b10 | b11 |         | b10 | b11 | b8  | b9  |
 [ b12 | b13 | b14 | b15 ]         [ b15 | b12 | b13 | b14 ]

Decryption is the process of converting an encrypted message back to its original (readable) format. The original message is called the plaintext message. The encrypted message is called the ciphertext message.In decryption, the system extracts and converts the garbled data and transforms it to texts and images that are easily understandable not only by the reader but also by the system. Decryption may be accomplished manually or automatically. It may also be performed with a set of keys or passwords.

License: MIT Workflow

aes-encryption-decryption's People

Contributors

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