egovframework.rfc3.common.crypt
Class DES

java.lang.Object
  extended by 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
 

Constructor Detail

DES

public DES()
Method Detail

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