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.
Youtube video shows how to install AES into home folder.
Youtube video shows how to integrate AES into Thunar File Manager.