chickadee » crypto-tools » make-ctr*-decryptor

make-ctr*-decryptor ENCRYPTOR BLOCKSIZEprocedure

Given a block decryption function that accepts and returns blobs of BLOCKSIZE bytes, returns a CTR processor using the supplied encryptor that will decrypt arbitrary blobs and will read its IV from the first block.