|
ECE
575 Project,
by Balakrishna Anumolu
Instructions:
To Encrypt
- Enter
the plain text you want to encrypt in the Text Field labeled as
Plain Text.
- Now,
choose the key length from the drop down box and enter the key
string in 0's & 1's in the Text Area labeled as Key Bits.
if you donot enter a key, the applet will use a default key to
encrypt your message. Further, if your key length does not equal
to the # of bits at which it should be encrypted, the key shall
be padded with 0's.
- When
Encrypt is pressed the encrypted cipher text is shown in Hexadecimal
format in the Text Area labelled as Cipher Text.
To Decrypt
- Decryption
is also similar, enter the cipher text in the box Cipher Text
- Enter
the Key bits in 0's & 1's.
- Press
Decrypt. Message is shown in the box labelled Plain Text.
- To
clear all fields press Reset.
Source Code
The
Source files for this project can be downloaded here. The file named
AES.java contains all the methods to perform
the AES encryption. The file AESP.java contains
the applet class. Just download these to your computer and start
playing.
Platform
This
Project has been written using java, right from scratch. It should
run on any OS. Sometimes the browsers may screw up my layout applet
managers, Other than that there shouldnt be any probems.
References
- Introduction
to Cryptography with Coding Theory, W.Trappe & L.C Washington.
- AES
Proposal: Rijndael, J.Daemen & Vincent Rijmen.
- A
Specification for Rijndael, the AES Algorithm. NIST
|