public class DESEngine
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
| protected static int | BLOCK_SIZE | 
| private javax.crypto.Cipher | cf | 
| Constructor and Description | 
|---|
| DESEngine()standard constructor. | 
| DESEngine(boolean encrypting,
         byte[] key)mdb: convenient constructor | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.String | getAlgorithmName() | 
| int | getBlockSize() | 
| void | init(boolean encrypting,
    byte[] key)initialise a DES cipher. | 
| int | processBlock(byte[] in,
            int inOff,
            byte[] out,
            int outOff) | 
| void | reset() | 
protected static final int BLOCK_SIZE
private javax.crypto.Cipher cf
public DESEngine()
public DESEngine(boolean encrypting,
         byte[] key)
public void init(boolean encrypting,
        byte[] key)
encrypting - whether or not we are for encryption.key - the parameters required to set up the cipher.java.lang.IllegalArgumentException - if the params argument is
 inappropriate.public java.lang.String getAlgorithmName()
public int getBlockSize()
public int processBlock(byte[] in,
               int inOff,
               byte[] out,
               int outOff)
public void reset()
Generated on June 8 2013