Save This Page
Home » openjdk-7 » com.sun.crypto » provider » [javadoc | source]
final class: DESedeCrypt [javadoc | source]

All Implemented Interfaces:

This class implements the Triple DES algorithm (DES encryption, followed by DES decryption, followed by DES encryption) on a byte array of size DES_BLOCK_SIZE. Each DES operation has its own key.
Fields inherited from com.sun.crypto.provider.DESCrypt:
expandedKey,  decrypting
Method from com.sun.crypto.provider.DESedeCrypt Summary:
decryptBlock,   encryptBlock,   init
Methods from com.sun.crypto.provider.DESCrypt:
cipherBlock,   decryptBlock,   encryptBlock,   expandKey,   getBlockSize,   init
Methods from com.sun.crypto.provider.SymmetricCipher:
decryptBlock,   encryptBlock,   getBlockSize,   init
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sun.crypto.provider.DESedeCrypt Detail:
  void decryptBlock(byte[] cipher,
    int cipherOffset,
    byte[] plain,
    int plainOffset) 
    Performs decryption operation.

    The input cipher text cipher, starting at cipherOffset and ending at (cipherOffset + blockSize - 1), is decrypted. The result is stored in plain, starting at plainOffset.

  void encryptBlock(byte[] plain,
    int plainOffset,
    byte[] cipher,
    int cipherOffset) 
    Performs encryption operation.

    The input plain text plain, starting at plainOffset and ending at (plainOffset + blockSize - 1), is encrypted. The result is stored in cipher, starting at cipherOffset.

  void init(boolean decrypting,
    String algorithm,
    byte[] keys) throws InvalidKeyException