process
public java.lang.String process(ProcessingClient client)
Encrypts the a password and returns the encrypted result.
Note: this is not a real encryption algorithm. The code only
demonstrates the use of this interface in a real installation environment.
For a real application a proper encryption mechanism must be used. Though
Java 1.4.X provides such algorithms, you need to consider that not all
potential target environments have this version installed. It seems best
to include the necessary encryption library with the installer.
- Specified by:
process
in interface Processor
- Parameters:
client
- the client object using the services of this encryptor.
- Returns:
- the encryption result.