egovframework.rfc3.common.crypt
Class DES
java.lang.Object
egovframework.rfc3.common.crypt.DES
public class DES
- extends java.lang.Object
Constructor Summary |
DES()
|
Method Summary |
java.lang.String |
decrypt(java.lang.String data)
|
java.lang.String |
decrypt(java.lang.String data,
java.lang.String key)
|
java.lang.String |
encrypt(java.lang.String data)
|
java.lang.String |
encrypt(java.lang.String data,
java.lang.String key)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DES
public DES()
encrypt
public java.lang.String encrypt(java.lang.String data,
java.lang.String key)
throws java.lang.Exception
- Throws:
java.lang.Exception
encrypt
public java.lang.String encrypt(java.lang.String data)
throws java.lang.Exception
- Throws:
java.lang.Exception
decrypt
public java.lang.String decrypt(java.lang.String data,
java.lang.String key)
throws java.lang.Exception
- Throws:
java.lang.Exception
decrypt
public java.lang.String decrypt(java.lang.String data)
throws java.lang.Exception
- Throws:
java.lang.Exception