úÎ ­K     8 !"#$%&'()*+,-./BModes ECB and CBC can only handle full 16-byte frames. This means D the length of every strict bytestring passed in must be a multiple ) of 16; when using lazy bytestrings, its  component strict $ bytestrings must all satisfy this. =Other modes can handle bytestrings of any length, by storing E overflow for later. However, the total length of bytestrings passed B in must still be a multiple of 16, or the overflow will be lost. AFor OFB and CTR, Encrypt and Decrypt are the same operation. For 2 CTR, the IV is the initial value of the counter.  01234Must be 16, 24 or 32 bytes 5 Create an encryption/#decryption context for incremental  encryption/ decryption CYou may create an ECB context this way, in which case you may pass  undefined for the IV A 16, 24 or 32-byte AES key  A 16-byte IV 67 %Create a context for ECB, which doesn' t need an IV A 16, 24 or 32-byte AES key 8 Incrementally encrypt/decrypt bytestrings (crypt is definitely not thread-safe. Don't even think about  it. 9:;<=>?@A          &A class of things that can be crypted :The crypt function returns incremental results as well as * appending them to the result bytestring. Run an AES computation !The AES key - 16, 24 or 32 bytes The IV, 16 bytes Run an AES computation !The AES key - 16, 24 or 32 bytes The IV, 16 bytes    Encryption/ decryption for lazy bytestrings !The AES key - 16, 24 or 32 bytes The IV, 16 bytes Bytestring to encrypt/decrypt  Encryption/"decryption for strict bytestrings !The AES key - 16, 24 or 32 bytes The IV, 16 bytes Bytestring to encrypt/decrypt    B      !"#$%&'()*+,-./012233456789:;<=>?@A AES-0.2.2Codec.Crypto.AES.IOControl.Monad.UnsafeIOCodec.Crypto.AES.MonadCodec.Crypto.AESAESCtxModeCTROFBCFBCBCECB DirectionDecryptEncryptnewCtx newECBCtxcrypt MonadUnsafeIO liftUnsafeIO CryptableAESAESTrunAESTrunAEScrypt'_aes_decrypt_key_aes_encrypt_key_ctr_inc_aes_ctr_crypt_aes_ofb_crypt_aes_cfb_decrypt_aes_cfb_encrypt_aes_cbc_decrypt_aes_cbc_encrypt_aes_ecb_decrypt_aes_ecb_encryptDecryptCtxStructEncryptCtxStruct DecryptCtxP EncryptCtxPDirectionalCtx DecryptCtx EncryptCtxContextCTRCtxOFBCtxCFBCtxCBCCtxECBCtxIVAESKeytoKeytoIVnewCtx'wrapCtr newECBCtx'callcallivaddiv aes_ctr_cryptwrapensure encryptCtx decryptCtx