Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD

Class javax.crypto.NullCipher

java.lang.Object
  |
  +--javax.crypto.Cipher
        |
        +--javax.crypto.NullCipher

public class NullCipher
extends Cipher
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.

Since:
JCE1.2

Fields inherited from class javax.crypto.Cipher
DECRYPT_MODE, ENCRYPT_MODE
 
Constructor Summary
NullCipher()
           
 
Methods inherited from class javax.crypto.Cipher
doFinal, doFinal, doFinal, doFinal, doFinal, doFinal, getAlgorithm, getBlockSize, getInstance, getInstance, getIV, getOutputSize, getParameters, getProvider, init, init, init, init, init, init, update, update, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait
 

Constructor Detail

NullCipher

public NullCipher()

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD