| java.lang.Object org.apache.turbine.services.crypto.provider.ClearCrypt
ClearCrypt | public class ClearCrypt implements CryptoAlgorithm(Code) | | This is a dummy for "cleartext" encryption. It goes through
the notions of the CryptoAlgorithm interface but actually does
nothing. It can be used as a replacement for the "encrypt = no"
setting in the TR.props.
Can be used as the default crypto algorithm
author: Henning P. Schmiedehausen version: $Id: ClearCrypt.java 534527 2007-05-02 16:10:59Z tv $ |
ClearCrypt | public ClearCrypt()(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 an algorithm, so this is
just a dummy.
Parameters: cipher - Cipher (ignored) |
setSeed | public void setSeed(String seed)(Code) | | This class never uses a seed, so this is
just a dummy.
Parameters: seed - Seed (ignored) |
|
|