java.lang.ObjectThe NullCipher class is a class that provides an "identity cipher" -- one that does not tranform the plaintext. As a consequence, the ciphertext is identical to the plaintext. All initialization methods do nothing, while the blocksize is set to 1 byte.javax.crypto.Cipher
javax.crypto.NullCipher
Li
- Gong1.4
- Fields inherited from javax.crypto.Cipher: |
---|
ENCRYPT_MODE, DECRYPT_MODE, WRAP_MODE, UNWRAP_MODE, PUBLIC_KEY, PRIVATE_KEY, SECRET_KEY |
Constructor: |
---|
|
Methods from javax.crypto.Cipher: |
---|
chooseFirstProvider, doFinal, doFinal, doFinal, doFinal, doFinal, doFinal, doFinal, getAlgorithm, getBlockSize, getExemptionMechanism, getIV, getInstance, getInstance, getInstance, getMaxAllowedKeyLength, getMaxAllowedParameterSpec, getOutputSize, getParameters, getProvider, init, init, init, init, init, init, init, init, unwrap, update, update, update, update, update, updateAAD, updateAAD, updateAAD, wrap |
Methods from java.lang.Object: |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |