FileDocCategorySizeDatePackage
NullCipher.javaAPI DocAndroid 1.5 API1602Wed May 06 22:41:02 BST 2009javax.crypto

NullCipher

public class NullCipher extends Cipher
This class provides an identity cipher that does not transform the input data in any way. The encrypted data is identical to the plain text.
since
Android 1.0

Fields Summary
Constructors Summary
public NullCipher()
Creates a new {@code NullCipher} instance.

        super(new NullCipherSpi(), null, null);
        try {
            this.init(Cipher.ENCRYPT_MODE, (Key)null, (SecureRandom)null);    
        } catch (InvalidKeyException e) {        
        }
    
Methods Summary