NullCipher


NullCipher javax.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  ( );   } 



Java In A Nutshell
Java In A Nutshell, 5th Edition
ISBN: 0596007736
EAN: 2147483647
Year: 2004
Pages: 1220

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net