Class type Block.block_cipher
Abstract interface for a block cipher.
method transform : bytes -> int -> bytes -> int -> unittransform src spos dst dposencrypts or decrypts one block of data. The input data is read from byte arraysrcat positionsspos, ..., spos + blocksize - 1, and the output data is stored in byte arraydstat positionsdpos, ..., dpos + blocksize - 1.