com.retek.component.payment
Class DESEncryptionStrategy

java.lang.Object
  extended bycom.retek.component.payment.BaseEncryptionStrategy
      extended bycom.retek.component.payment.DESEncryptionStrategy
All Implemented Interfaces:
EncryptionStrategy, java.io.Serializable

public class DESEncryptionStrategy
extends BaseEncryptionStrategy
implements EncryptionStrategy

An encryption strategy implementation that uses the Java Cryptography Standard Extenstion implementation of the DES algorithm to return base 64 encoded encrypted representations of credit card information.

Retek Inc. Copyright (c) 2003

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.retek.component.payment.BaseEncryptionStrategy
cipher, keyBytes
 
Constructor Summary
DESEncryptionStrategy()
           
 
Method Summary
 java.lang.String decrypt(java.lang.String encryptedText)
           
 java.lang.String encrypt(java.lang.String clearText)
           
 
Methods inherited from class com.retek.component.payment.BaseEncryptionStrategy
getCipher, getKey, setKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.retek.component.payment.EncryptionStrategy
getKey, setKey
 

Constructor Detail

DESEncryptionStrategy

public DESEncryptionStrategy()
                      throws SystemException
Method Detail

encrypt

public java.lang.String encrypt(java.lang.String clearText)
                         throws SystemException
Specified by:
encrypt in interface EncryptionStrategy
Throws:
SystemException

decrypt

public java.lang.String decrypt(java.lang.String encryptedText)
                         throws SystemException
Specified by:
decrypt in interface EncryptionStrategy
Throws:
SystemException


Copyright © 2005 Retek Inc. All Rights Reserved. - Generated at Fri, 01/21/2005 14:25