Save This Page
Home » openjdk-7 » javax » crypto » [javadoc | source]
javax.crypto
public class: NullCipher [javadoc | source]
java.lang.Object
   javax.crypto.Cipher
      javax.crypto.NullCipher
The 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.
Fields inherited from javax.crypto.Cipher:
ENCRYPT_MODE,  DECRYPT_MODE,  WRAP_MODE,  UNWRAP_MODE,  PUBLIC_KEY,  PRIVATE_KEY,  SECRET_KEY
Constructor:
 public NullCipher() 
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