Class Block.triple_des_encrypt
The Triple-DES block cipher, in encryption mode. The key argument must have length 16 (two keys) or 24 (three keys).
method transform : bytes -> int -> bytes -> int -> unit
transform src spos dst dpos
encrypts or decrypts one block of data. The input data is read from byte arraysrc
at positionsspos, ..., spos + blocksize - 1
, and the output data is stored in byte arraydst
at positionsdpos, ..., dpos + blocksize - 1
.