Skip to content

idelac3/AESExample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AESExample

AES example in Java. In this example AES/OFB8/PKCS5Padding is used as transformation. IV parameters are derived from key as first 16 bytes. Actual key is generated as SHA-1 digest from secret to encrypt or decrypt. See AES.java source code.

Download source files *.java with:

git clone https://github.com/idelac3/AESExample.git

Compile with:

 cd src
 javac AES.java

Start with:

 java AES [ encrypt | decrypt ] inputFile outputFile secret

Example:

 java AES encrypt /home/john/report.txt /tmp/report.txt.c mysecret123 

If you want GUI window to appear, just enter first two arguments: mode and input file. Main window should appear on center of screen asking for secret.

Installation example

Installation Example
Youtube video shows how to install AES into home folder.

Thunar integration example

Xfce Thunar integration Example
Youtube video shows how to integrate AES into Thunar File Manager.

Author

aes

About

AES example in Java

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages