Provide some simple means to encrypt and decrypt strings such as passwords.
The whole implementation is based around Sun's security providers and uses
the PBEWithMD5AndDES
method to encrypt and decrypt the data.
author: Juergen Donnerstag
crypt(byte[] input, int mode) Crypts the given byte array
Parameters: input - byte array to be crypted Parameters: mode - crypt mode the input crypted.
Crypts the given byte array
Parameters: input - byte array to be crypted Parameters: mode - crypt mode the input crypted. Null in case of an error throws: GeneralSecurityException -
Methods inherited from org.apache.wicket.util.crypt.AbstractCrypt