com.ibm.btt.bc.ac.encrypt
Interface EncryptionInterface
- All Known Implementing Classes:
- Scrambler
public interface EncryptionInterface
Method Summary |
java.lang.String |
decrypt(java.lang.String text,
java.lang.String password)
Return the text decrypted by the password. |
java.lang.String |
encrypt(java.lang.String text,
java.lang.String encryptCode)
Return a string representing the text encrypted by the password. |
decrypt
java.lang.String decrypt(java.lang.String text,
java.lang.String password)
- Return the text decrypted by the password.
- Parameters:
text
- String - the encrypted string.password
- String - the password.
- Returns:
- String - the decrypted string.
encrypt
java.lang.String encrypt(java.lang.String text,
java.lang.String encryptCode)
- Return a string representing the text encrypted by the password.
- Parameters:
text
- String - the string to encrypted.encryptCode
- String - the password.
- Returns:
- String - the scrambled string.
(c) Copyright IBM Corporation 1998, 2009