All Packages Class Hierarchy This Package Previous Next Index
Class au.net.aba.crypto.provider.DESede
java.lang.Object
|
+----javax.crypto.CipherSpi
|
+----au.net.aba.crypto.provider.BlockCipher
|
+----au.net.aba.crypto.provider.DES
|
+----au.net.aba.crypto.provider.DESede
- public class DESede
- extends DES
A class that provides DES-EDE encryption.
-
ident
-
-
DESede()
-
-
decryptBlock(byte[], int, int, byte[], int)
- Decrypt the given block starting at the given offset and place
the result in the provided buffer starting at the given offset.
-
encryptBlock(byte[], int, int, byte[], int)
- Encrypt the given block starting at the given offset and place
the result in the provided buffer starting at the given offset.
-
setKey(Key)
- Set up the keys for the DES EDE cipher.
ident
public static final String ident
DESede
public DESede()
setKey
protected void setKey(Key key) throws InvalidKeyException
- Set up the keys for the DES EDE cipher.
- Overrides:
- setKey in class DES
encryptBlock
protected int encryptBlock(byte in[],
int inOff,
int len,
byte out[],
int outOff) throws IllegalBlockSizeException
- Encrypt the given block starting at the given offset and place
the result in the provided buffer starting at the given offset.
- Overrides:
- encryptBlock in class DES
decryptBlock
protected int decryptBlock(byte in[],
int inOff,
int len,
byte out[],
int outOff) throws BadPaddingException
- Decrypt the given block starting at the given offset and place
the result in the provided buffer starting at the given offset.
- Overrides:
- decryptBlock in class DES
All Packages Class Hierarchy This Package Previous Next Index