package cryptokit
Library
Module
Module type
Parameter
Class
Class type
The Triple-DES block cipher, in encryption mode. The key argument must have length 16 (two keys) or 24 (three keys).
The Triple-DES block cipher, in decryption mode.
The size in bytes of the blocks manipulated by the cipher.
transform src spos dst dpos
encrypts or decrypts one block of data. The input data is read from byte array src
at positions spos, ..., spos + blocksize - 1
, and the output data is stored in byte array dst
at positions dpos, ..., dpos + blocksize - 1
.
transform src spos dst dpos
encrypts or decrypts one block of data. The input data is read from byte array src
at positions spos, ..., spos + blocksize - 1
, and the output data is stored in byte array dst
at positions dpos, ..., dpos + blocksize - 1
.
Erase the internal state of the block cipher, such as all key-dependent material.