Google

Class Cryptokit.Block.cipher


class cipher : block_cipher -> Cryptokit.transform
Wraps a block cipher as a general transform. The transform has input block size and output block size equal to the block size of the block cipher. No padding is performed. Example: new cipher (new cbc_encrypt (new aes_encrypt key)) returns a transform that performs AES encryption in CBC mode.