haniehm26 / AES-Cryptography

AES encryption and decryption

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


Advanced Encryption Standard

About The Project

This tool provides encryption/decrytion according to AES-128 standart. The standart is based on symmetric Rijndael algorithm and regulates work with 128 bit long keys.

Built With

Getting Started

There are two different classes, one for encrytion, one for decryption. Both classes have their own Main method. Inputs should be set and the output will be desplayed.

Encryption

You should input KEY and PLAIN_TEXT, output will be CIPHER_TEXT
KEY = Maximam 128 bit hexadecimal number
PLAIN_TEXT = Maximam 128 bit hexadecimal number
CIPHER_TEXT = Maximam 128 bit hexadecimal numbers

Decryption

You should input KEY and CIPHER_TEXT, output will be PLAIN_TEXT
KEY = Maximam 128 bit hexadecimal number
CIPHER_TEXT = Maximam 128 bit hexadecimal number
PLAIN_TEXT = Maximam 128 bit hexadecimal numbers

Example

00000000000000000000000000000000 // KEY
c0000000000000000000000000000000 // PLAIN_TEXT
4bc3f883450c113c64ca42e1112a9e87 // CIPHER_TEXT

License

Distributed under the MIT License. See LICENSE for more information.

About

AES encryption and decryption

License:MIT License


Languages

Language:Java 100.0%