the simplest way to use a block cipher to encrypt an arbitrary-length message. it’s very simple:
- pad your message to a multiple of the block length
- apply the block cipher to each block
this is is bad. notably, it is not CPA secure, since it is deterministic.