Java in a Nutshell, 5th Edition [Electronic resources]

نسخه متنی -صفحه : 1191/ 915
نمايش فراداده

NullCipherjavax.crypto

Java 1.4

This trivial subclass of Cipher implements an identity cipher that does not transform plain text in any way. Unlike Cipher objects returned by Cipher.getInstance( ), a NullCipher must be created with the NullCipher( ) constructor.

Figure 17-8. javax.crypto.NullCipher

public class

NullCipher extends Cipher { // Public Constructors public

NullCipher ( ); }