egovframework.rfc3.common.crypt
Class ARIAEngine

java.lang.Object
  extended by egovframework.rfc3.common.crypt.ARIAEngine

public class ARIAEngine
extends java.lang.Object


Constructor Summary
ARIAEngine(int keySize)
           
 
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
 

Constructor Detail

ARIAEngine

public ARIAEngine(int keySize)
           throws java.security.InvalidKeyException
Throws:
java.security.InvalidKeyException
Method Detail

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