chickadee » crypto-tools » make-cbc-decryptor

make-cbc-decryptor ENCRYPTOR UNPADFN BLOCKSIZEprocedure

Given a block decryption function that accepts and returns blobs of BLOCKSIZE bytes and an unpadding function, returns a CBC processor using the supplied decryptor that will decrypt arbitrary blobs, stripping off padding.