java.lang.Object
javax.crypto.Cipher
javax.crypto.NullCipher
- public class NullCipher
- extends Cipher
Trivial subclass of Cipher that implements the identity
transformation, where the input is always copied to the output
unchanged. Null ciphers can be instantiated with the public
constructor.
|
Constructor Summary |
NullCipher()
Create a new identity cipher. |
| Methods inherited from class javax.crypto.Cipher |
doFinal, doFinal, doFinal, doFinal, doFinal, doFinal, doFinal, getAlgorithm, getBlockSize, getExemptionMechanism, getInstance, getInstance, getInstance, getIV, getOutputSize, getParameters, getProvider, init, init, init, init, init, init, init, init, unwrap, update, update, update, update, update, wrap |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullCipher
public NullCipher()
- Create a new identity cipher.