Encrypting and decrypting plug-in parameter strings

Web Express Logon includes an object called com.ibm.eNetwork.security.sso.PasswordCipher to encrypt and decrypt plug-in parameter strings. It contains the following two methods:

public static String encrypt (String plainText)
This method returns an encrypted string that is passed as a parameter.
public static String decrypt (String cipherText)
This method reverses the encryption process by returning a decrypted string. If the cipherText was not encrypted using the encrypt method, it returns the original input string