AES256 Class
Provides static methods used to encrypt and decrypt text using AES 256 bit
encryption. Based on code posted here:
http://stackoverflow.com/a/992413/
Constructors
There are no constructors. You can call the methods directly.
Methods
decrypt( byte[] bytes, String password ) returns String
Used to decrypt a byte array generated from the encrypt() method. Throws
an java.security.InvalidKeyException if the JRE/JDK is missing the Java
Cryptography Extension (JCE) unlimited strength jurisdiction policy files.
encrypt( String text, String password ) returns byte[]
Used to encrypt a block of text. Throws an java.security.InvalidKeyException
if the JRE/JDK is missing the Java Cryptography Extension (JCE) unlimited
strength jurisdiction policy files.