All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----Acme.Crypto.CryptoUtils | +----Acme.Crypto.Cipher | +----Acme.Crypto.BlockCipher | +----Acme.Crypto.NullCipher
This is a block cipher that just copies input to output, unmodified. It's mostly for testing. However, using the null cipher in CBC mode, for example via EncryptedOutputStream and EncryptedInputStream, turns out to hash things up enough to protect against casual inspection. There may be applications where this is appropriate.
Fetch the software.
Fetch the entire Acme package.
public NullCipher()
public void setKey(byte key[])
public void encrypt(byte clearText[], int clearOff, byte cipherText[], int cipherOff)
public void decrypt(byte cipherText[], int cipherOff, byte clearText[], int clearOff)
All Packages Class Hierarchy This Package Previous Next Index
ACME Java ACME Labs