Package javax.crypto
Class NullCipher
java.lang.Object
javax.crypto.Cipher
javax.crypto.NullCipher
public class NullCipher extends Cipher
This class provides an identity cipher that does not transform the input data
in any way. The encrypted data is identical to the plain text.
-
Field Summary
Fields inherited from class javax.crypto.Cipher
DECRYPT_MODE, ENCRYPT_MODE, PRIVATE_KEY, PUBLIC_KEY, SECRET_KEY, UNWRAP_MODE, WRAP_MODE -
Constructor Summary
Constructors Constructor Description NullCipher()Creates a newNullCipherinstance. -
Method Summary
Methods inherited from class javax.crypto.Cipher
doFinal, doFinal, doFinal, doFinal, doFinal, doFinal, doFinal, getAlgorithm, getBlockSize, getExemptionMechanism, getInstance, getInstance, getInstance, getIV, getMaxAllowedKeyLength, getMaxAllowedParameterSpec, getOutputSize, getParameters, getProvider, init, init, init, init, init, init, init, init, unwrap, update, update, update, update, update, updateAAD, updateAAD, updateAAD, wrap
-
Constructor Details
-
NullCipher
public NullCipher()Creates a newNullCipherinstance.
-