Класс NullCipher
- java.lang.Object
-
- javax.crypto.Cipher
-
- javax.crypto.NullCipher
public class NullCipher extends Cipher
Класс NullCipher представляет собой класс, который обеспечивает "тождественное шифрование" — шифрование, не преобразующее открытый текст. В результате шифрованный текст идентичен открытому тексту. Все методы инициализации ничего не делают, а размер блока устанавливается в 1 байт.
- Since:
- 1.4
Поля
Поля, объявленные в классе javax.crypto.Cipher
DECRYPT_MODE, ENCRYPT_MODE, PRIVATE_KEY, PUBLIC_KEY, SECRET_KEY, UNWRAP_MODE, WRAP_MODEКонструкторы
| Конструктор | Описание |
|---|---|
NullCipher() | Создаёт объект NullCipher. |
Методы
Методы, объявленные в классе 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Методы, объявленные в классе java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitКонструкторы
NullCipher
public NullCipher()
Создаёт объект NullCipher.
© 1993, 2020, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/javax/crypto/NullCipher.html