All Packages Class Hierarchy This Package Previous Next Index
|  | 
java.lang.Object
   |
   +----Acme.Crypto.CryptoUtils
           |
           +----Acme.Crypto.Cipher
                   |
                   +----Acme.Crypto.BlockCipher
                           |
                           +----Acme.Crypto.Des3Cipher
This is a fairly standard way of increasing the security of DES. You run each block through DES three times, first encrypting with key A, then decrypting with key B, then encrypting again with key A again.
 Fetch the software.
 Fetch the entire Acme package.
 
 
 Des3Cipher(byte[])
	Des3Cipher(byte[])
   Des3Cipher(String)
	Des3Cipher(String)
   
 decrypt(byte[], int, byte[], int)
	decrypt(byte[], int, byte[], int)
   encrypt(byte[], int, byte[], int)
	encrypt(byte[], int, byte[], int)
   setKey(byte[])
	setKey(byte[])
   
 Des3Cipher
Des3Cipher
public Des3Cipher(String keyStr)
 Des3Cipher
Des3Cipher
public Des3Cipher(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