Bouncy Castle Cryptography Library 1.39 | |
Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.bouncycastle.crypto.engines.DESEngine
org.bouncycastle.crypto.engines.DESedeEngine
public class DESedeEngine
extends DESEngine
Field Summary | |
protected static int |
Fields inherited from class org.bouncycastle.crypto.engines.DESEngine | |
BLOCK_SIZE |
Constructor Summary | |
|
Method Summary | |
String | |
int | |
void |
|
int |
|
void |
|
Methods inherited from class org.bouncycastle.crypto.engines.DESEngine | |
desFunc , generateWorkingKey , getAlgorithmName , getBlockSize , init , processBlock , reset |
public String getAlgorithmName()
- Specified by:
- getAlgorithmName in interface BlockCipher
- Overrides:
- getAlgorithmName in interface DESEngine
public int getBlockSize()
- Specified by:
- getBlockSize in interface BlockCipher
- Overrides:
- getBlockSize in interface DESEngine
public void init(boolean encrypting, CipherParameters params)
initialise a DESede cipher.
- Specified by:
- init in interface BlockCipher
- Parameters:
encrypting
- whether or not we are for encryption.params
- the parameters required to set up the cipher.
public int processBlock(byte[] in, int inOff, byte[] out, int outOff)
- Specified by:
- processBlock in interface BlockCipher
- Overrides:
- processBlock in interface DESEngine