Class OptimizedAES


  • public class OptimizedAES
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      OptimizedAES()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static byte[] decrypt​(byte[] input, byte[] keyBytes)  
      static byte[] encrypt​(byte[] input, byte[] keyBytes)  
      • Methods inherited from class java.lang.Object

        clone, equals, 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 java.security.GeneralSecurityException
        Throws:
        java.security.GeneralSecurityException
      • encrypt

        public static byte[] encrypt​(byte[] input,
                                     byte[] keyBytes)
                              throws java.security.GeneralSecurityException
        Throws:
        java.security.GeneralSecurityException