This repository contains implementation of AES cipher, also commonly known as Rijndael.
- Place all source files in one directory and create a Main class to run program.
- Program takes input two strings
key
andtext
. - Both Strings
key
andtext
are in hexadecimal format where each character represents half byte and has value between 0 and F .
AES aes= new AES(text,key);
aes.excrypt();
Returns cipher text string in hexadecimal format.
aes.decrypt();
Returns plain text string in hexadecimal format.