crypto_cbcmode.md 508 B


id: crypto.cbcmode title: Crypto.CBCMode

sidebar_label: Introduction

Cipher Block Chaining mode is a simple mode designed to prevent trivial forms of replay and swap attacks on ciphers. It is given as: $$$ C_i = E_k(Pi \oplus C{i - 1}) $$$

It is important that the initialization vector be unique and preferably random for each message encrypted under the same key.

Types

Type Description
TCBCCipherMode CBC Cipher Mode.