A helper that will encrypt and decrypt strings using password
based encryption with MD5 and DES (PKCS#5). Take care that
the key used with this API must be ASCII (no extended
characters will work properly).
This file is used on the thin-client, and hence cannot use
many of the features from the security subsystem of
WebLogicServer. Care must be taken that few assumptions
are made about the availability of a JCE provider. This
uses the PBEWithMD5AndDES, since it has been part of the
Sun provider in JDK 1.4.