egovframework.rfc3.common.crypt
Class ARIA
java.lang.Object
egovframework.rfc3.common.crypt.ARIA
public class ARIA
- extends java.lang.Object
Method Summary |
static java.lang.String |
decrypt(java.lang.String str)
|
static java.lang.String |
decrypt(java.lang.String str,
java.security.Key key)
|
static java.lang.String |
encrypt(java.lang.String str)
|
static java.lang.String |
encrypt(java.lang.String str,
java.security.Key key)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
encrypt
public static java.lang.String encrypt(java.lang.String str)
throws java.security.InvalidKeyException,
java.io.UnsupportedEncodingException,
java.security.NoSuchAlgorithmException,
javax.crypto.NoSuchPaddingException,
javax.crypto.IllegalBlockSizeException,
javax.crypto.BadPaddingException
- Throws:
java.security.InvalidKeyException
java.io.UnsupportedEncodingException
java.security.NoSuchAlgorithmException
javax.crypto.NoSuchPaddingException
javax.crypto.IllegalBlockSizeException
javax.crypto.BadPaddingException
decrypt
public static java.lang.String decrypt(java.lang.String str)
throws java.security.InvalidKeyException,
java.lang.SecurityException,
java.io.IOException,
javax.crypto.IllegalBlockSizeException,
javax.crypto.BadPaddingException,
java.security.NoSuchAlgorithmException,
javax.crypto.NoSuchPaddingException
- Throws:
java.security.InvalidKeyException
java.lang.SecurityException
java.io.IOException
javax.crypto.IllegalBlockSizeException
javax.crypto.BadPaddingException
java.security.NoSuchAlgorithmException
javax.crypto.NoSuchPaddingException
encrypt
public static java.lang.String encrypt(java.lang.String str,
java.security.Key key)
throws java.security.InvalidKeyException,
java.io.UnsupportedEncodingException
- Throws:
java.security.InvalidKeyException
java.io.UnsupportedEncodingException
decrypt
public static java.lang.String decrypt(java.lang.String str,
java.security.Key key)
throws java.security.InvalidKeyException,
java.lang.SecurityException,
java.io.IOException
- Throws:
java.security.InvalidKeyException
java.lang.SecurityException
java.io.IOException