IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.bc.ac.encrypt
Class Scrambler

java.lang.Object
  extended by com.ibm.btt.bc.ac.encrypt.Scrambler
All Implemented Interfaces:
EncryptionInterface

public class Scrambler
extends java.lang.Object
implements EncryptionInterface


Constructor Summary
Scrambler()
          Creates a new instance of this text scrambler.
 
Method Summary
 java.lang.String decrypt(java.lang.String text, java.lang.String password)
          Returns the text decrypted by the password.
 java.lang.String encrypt(java.lang.String text, java.lang.String password)
          Returns a string representing the text encrypted by the password.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Scrambler

public Scrambler()
Creates a new instance of this text scrambler.

Method Detail

decrypt

public java.lang.String decrypt(java.lang.String text,
                                java.lang.String password)
Returns the text decrypted by the password.

Specified by:
decrypt in interface EncryptionInterface
Parameters:
text - String - the encrypted string.
password - String - the password.
Returns:
String - the decrypted string.

encrypt

public java.lang.String encrypt(java.lang.String text,
                                java.lang.String password)
Returns a string representing the text encrypted by the password.

Specified by:
encrypt in interface EncryptionInterface
Parameters:
text - String - the string to encrypted.
password - String - the password.
Returns:
String - the scrambled string.

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2011