public class ClearCrypt extends Object implements CryptoAlgorithm
Constructor and Description |
---|
ClearCrypt()
Constructor
|
Modifier and Type | Method and Description |
---|---|
String |
encrypt(String value)
This method performs no encryption and will simply
return the value passed
|
void |
setCipher(String cipher)
This class never uses an algorithm, so this is just a dummy.
|
void |
setSeed(String seed)
This class never uses a seed, so this is just a dummy.
|
public ClearCrypt()
public void setCipher(String cipher)
setCipher
in interface CryptoAlgorithm
cipher
- Cipher (ignored)public void setSeed(String seed)
setSeed
in interface CryptoAlgorithm
seed
- Seed (ignored)public String encrypt(String value) throws Exception
encrypt
in interface CryptoAlgorithm
value
- The value to be encryptedException
- An Exception of the underlying implementation.Copyright © 2005–2019 The Apache Software Foundation. All rights reserved.