de.mid.innovator.util
Class OptimizedAES

java.lang.Object
  extended by de.mid.innovator.util.OptimizedAES

public class OptimizedAES
extends Object


Constructor Summary
OptimizedAES()
           
 
Method Summary
static byte[] decrypt(byte[] input, byte[] keyBytes)
           
static byte[] encrypt(byte[] input, byte[] keyBytes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OptimizedAES

public OptimizedAES()
Method Detail

decrypt

public static byte[] decrypt(byte[] input,
                             byte[] keyBytes)
                      throws GeneralSecurityException
Throws:
GeneralSecurityException

encrypt

public static byte[] encrypt(byte[] input,
                             byte[] keyBytes)
                      throws GeneralSecurityException
Throws:
GeneralSecurityException