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.
 
    
  
 
  
 
  
 decrypt(byte[], int, byte[], int)
	decrypt(byte[], int, byte[], int)
   encrypt(byte[], int, byte[], int)
	encrypt(byte[], int, byte[], int)
   setKey(byte[])
	setKey(byte[])
  
  
 
 DesCipher
DesCipher
 public DesCipher(String keyStr)
 DesCipher
DesCipher
 public DesCipher(byte key[])
  
 
 setKey
setKey
 public void setKey(byte key[])
 encrypt
encrypt
 public void encrypt(byte clearText[],
                     int clearOff,
                     byte cipherText[],
                     int cipherOff)
  
    
 decrypt
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