JavaXT Documentation

AES256 Class

Provides static methods used to encrypt and decrypt strings using AES 256 bit encryption.

Constructors

There are no public constructors.

Static Methods

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.
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.