javax.crypto

Class NullCipher

public class NullCipher extends Cipher

Trivial subclass of Cipher that implements the identity transformation, where the input is always copied to the output unchanged. Null ciphers can be instantiated with the public constructor.
Constructor Summary
NullCipher()
Create a new identity cipher.

Constructor Detail

NullCipher

public NullCipher()
Create a new identity cipher.