View Test Results.
package cs221.groupk.common;
/**
* FuncU is a <B>Func</B>tion <B>U</B>tility Class containing methods for
* encryption, decryption. I have opted for the (un)encryption methods to be
* held externally, as static methods to allow easy alteration of the security
* required.
*
* <P><I>Code spell-checked - Chris Milner - 5th December 2000.</I><P>
*
* @author <A HREF="mailto:[email protected]">Paul Smith</A>
*/
public class FuncU
{
/**
* encryptString takes an unencrypted String data, and returns its encrypted
* counterpart.
* @param String data to encrypt.
* @return String that has been encrypted.
*/
public static String encryptString(String data)
{
return data;
}
/**
* decryptString takes an encrypted String data, then returns its decrypted
* counterpart.
* @param String data that is to be decrypted.
* @return String that had been decrypted.
*/
public static String decryptString(String data)
{
return data;
}
}
Page automatically generated on: 26/01/01 at: 10:48:15.