Crypto.Modes

# Initialization Vector Type, Modifiers (for all ciphers, all modes that use IVs)

data IV k

getIV

getIVIO

zeroIV

incIV

dblIV

# Blockcipher modes. Names with a prime (') means strict, without a prime means lazy bytestrings.

ecb

unEcb

cbc

unCbc

cfb

unCfb

ofb

unOfb

ecb'

unEcb'

cbc'

unCbc'

cfb'

unCfb'

ofb'

unOfb'

ctr

unCtr

ctr'

unCtr'

siv

unSiv

siv'

unSiv'

# Authentication modes

cbcMac'

cbcMac

cMac

cMac'

# Combined modes (nothing here yet)