Implementation of the cipher block chaining mode (CBC).
Extracted from Pike v7.3 release 11 at 2001-11-03.