| java.lang.Object org.apache.turbine.services.crypto.provider.UnixCrypt
UnixCrypt | public UnixCrypt()(Code) | | C'tor
|
encrypt | public String encrypt(String value) throws Exception(Code) | | encrypt the supplied string with the requested cipher
Parameters: value - The value to be encrypted The encrypted value throws: Exception - An Exception of the underlying implementation. |
setCipher | public void setCipher(String cipher)(Code) | | This class never uses anything but
UnixCrypt, so it is just a dummy
(Fixme: Should we throw an exception if
something is requested that we don't support?
Parameters: cipher - Cipher (ignored) |
setSeed | public void setSeed(String seed)(Code) | | Setting the seed for the UnixCrypt
algorithm. If a null value is supplied,
or no seed is set, then a random seed is used.
Parameters: seed - The seed value to use. |
|
|