java.lang.Object
javax.crypto.Cipher
javax.crypto.NullCipher
NullCipher
类是一个提供“身份密码”的类 - 不会转换明文。因此,密文与明文相同。所有初始化方法均不执行,而块大小设置为1字节。
- 自从:
- 1.4
-
Field Summary
Fields declared in class javax.crypto.Cipher
DECRYPT_MODE, ENCRYPT_MODE, PRIVATE_KEY, PUBLIC_KEY, SECRET_KEY, UNWRAP_MODE, WRAP_MODE
-
Constructor Summary
-
Method Summary
Methods declared in 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, toString, unwrap, update, update, update, update, update, updateAAD, updateAAD, updateAAD, wrap
-
Constructor Details
-
NullCipher
public NullCipher()创建一个NullCipher
对象。
-