chickadee » crypto-tools » make-cbc-encryptor

make-cbc-encryptor ENCRYPTOR PADFN BLOCKSIZEprocedure

Given a block encryption function that accepts and returns blobs of BLOCKSIZE bytes and a padding function, returns a CBC processor using the supplied encryptor that will encrypt arbitrary blobs, making them larger with padding in the process.