try {
Cryptor auth = new AES256Cryptor();
String encrypt = auth.encrypt("test");
Assert.assertNotNull(encrypt);
Assert.assertNotSame(encrypt, "test");
String test=auth.decrypt(encrypt);
Assert.assertEquals(test, "test");
}
catch (InvalidKeyException e)
{
logger.error("Hey, you're probably using the Oracle JRE without the Unlimited Strength Java Crypto Extensions installed. AES256 won't work until you download and install it", e);