public class AESUtility
extends Object
-
Constructor Summary
Constructors
-
Method Summary
static byte[]
decrypt(byte[] key,
byte[] encryptedData)
static byte[]
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
AESUtility
public AESUtility()
-
Method Details
-
encrypt
public static byte[] encrypt(byte[] key,
byte[] data)
throws Exception
- Throws:
Exception
-
decrypt
public static byte[] decrypt(byte[] key,
byte[] encryptedData)
throws Exception
- Throws:
Exception