úÎ!O     5 !"#$%&'()*+,-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. However, E encrypting a bytestring of length 5 and then one of length 4 is not C the same operation as encrypting a single bytestring of length 9; 7 they are internally padded to a multiple of 16 bytes. AFor OFB and CTR, Encrypt and Decrypt are the same operation. For 2 CTR, the IV is the initial value of the counter.  ./012Must be 16, 24 or 32 bytes 3 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 4 %Create a context for ECB, which doesn' t need an IV A 16, 24 or 32-byte AES key 5 Incrementally encrypt/decrypt bytestrings (crypt is definitely not thread-safe. Don't even think about  it. 6789:;<=>          &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    ?      !"#$%&'()*+,-./011223456789:;<=>? AES-0.2.3Codec.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 EncryptCtxCTRCtxOFBCtxCFBCtxCBCCtxECBCtxIVAESKeytoKeytoIVnewCtx' newECBCtx'callcallivaddiv aes_ctr_cryptwrapensure encryptCtx decryptCtx