egovframework.rfc3.common.crypt
Class ARIAEngine
java.lang.Object
egovframework.rfc3.common.crypt.ARIAEngine
public class ARIAEngine
- extends java.lang.Object
Method Summary |
static void |
ARIA_test()
|
static java.lang.String |
decrypt(byte[] c)
|
static byte[] |
encrypt(java.lang.String in)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ARIAEngine
public ARIAEngine(int keySize)
throws java.security.InvalidKeyException
- Throws:
java.security.InvalidKeyException
encrypt
public static byte[] encrypt(java.lang.String in)
throws java.security.InvalidKeyException
- Throws:
java.security.InvalidKeyException
decrypt
public static java.lang.String decrypt(byte[] c)
throws java.security.InvalidKeyException
- Throws:
java.security.InvalidKeyException
ARIA_test
public static void ARIA_test()
throws java.security.InvalidKeyException
- Throws:
java.security.InvalidKeyException