KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > crypto > NullCipher


1 /*
2  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
3  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
4  */

5
6 /*
7  * @(#)NullCipher.java 1.4 03/12/19
8  */

9   
10 /*
11  * NOTE:
12  * Because of various external restrictions (i.e. US export
13  * regulations, etc.), the actual source code can not be provided
14  * at this time. This file represents the skeleton of the source
15  * file, so that javadocs of the API can be created.
16  */

17
18 package javax.crypto;
19
20 /**
21  * The NullCipher class is a class that provides an
22  * "identity cipher" -- one that does not tranform the plaintext. As
23  * a consequence, the ciphertext is identical to the plaintext. All
24  * initialization methods do nothing, while the blocksize is set to 1
25  * byte.
26  *
27  * @author Li Gong
28  * @version 1.4, 12/19/03
29  * @since 1.4
30  */

31 public class NullCipher extends Cipher
32 {
33
34     public NullCipher() { }
35 }
36
Popular Tags