All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----Acme.Crypto.CryptoUtils | +----Acme.Crypto.Cipher | +----Acme.Crypto.BlockCipher | +----Acme.Crypto.DesCipher
This is surprisingly fast, for pure Java. On a SPARC 20, wrapped in Acme.Crypto.EncryptedOutputStream or Acme.Crypto.EncryptedInputStream, it does around 7000 bytes/second.
Most of this code is by Dave Zimmerman
Fetch the software.
Fetch the entire Acme package.
DesCipher
public DesCipher(String keyStr)
DesCipher
public DesCipher(byte key[])
setKey
public void setKey(byte key[])
encrypt
public void encrypt(byte clearText[],
int clearOff,
byte cipherText[],
int cipherOff)
decrypt
public void decrypt(byte cipherText[],
int cipherOff,
byte clearText[],
int clearOff)
All Packages Class Hierarchy This Package Previous Next Index
ACME Java ACME Labs