com.mindbright.security.cipher
Class DES3
java.lang.Object
|
+--com.mindbright.jce.crypto.CipherSpi
|
+--com.mindbright.security.cipher.BlockCipher
|
+--com.mindbright.security.cipher.DES3
- public final class DES3
- extends BlockCipher
|
Constructor Summary |
DES3()
|
| Methods inherited from class com.mindbright.security.cipher.BlockCipher |
engineDoFinal, engineGetBlockSize, engineGetIV, engineGetOutputSize, engineInit, engineInit, engineSetMode, engineSetPadding, getIntLSBO, getIntMSBO, putIntLSBO, putIntMSBO |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DES3
public DES3()
getBlockSize
public int getBlockSize()
- Specified by:
getBlockSize in class BlockCipher
initializeKey
public void initializeKey(byte[] key)
throws com.mindbright.jca.security.InvalidKeyException
- Specified by:
initializeKey in class BlockCipher
com.mindbright.jca.security.InvalidKeyException
blockEncrypt
public void blockEncrypt(byte[] in,
int inOffset,
byte[] out,
int outOffset)
- Specified by:
blockEncrypt in class BlockCipher
blockDecrypt
public void blockDecrypt(byte[] in,
int inOffset,
byte[] out,
int outOffset)
- Specified by:
blockDecrypt in class BlockCipher