Jason Rotello

6 minute read

All of the cryptographic algorithms deriving from the SymmetricAlgorithm class use cipher block chaining (CBC). Block ciphers work on fixed length chunks (or blocks) of bytes. If the length of plain text is not a multiple of the block size, then padding is introduced in order to increase the length such that the final length is a multiple of the block size.