no, we don't need CBC mode
optimize serialized term for size

compress
more readable specs
remove excess complexity in codec
make encrypt/3 pure
decouple codec and expiry