Symmetric

Block cipher modes

A mode of operation describes how to apply a block cipher to messages longer than one block, and determines what security properties the result has. The same cipher can be safe or badly broken depending on the mode.

20 algorithms 7 families

Confidentiality-only modes such as CBC, CFB, OFB and CTR hide content but let an attacker modify ciphertext undetected, and some leak information through padding errors. ECB leaks patterns and is unsuitable for general data. Specialised modes address particular problems: XTS and EME2 encrypt storage sectors in place, Key Wrap protects keys deterministically with built-in integrity, and FF1 preserves the format of the plaintext.

Most modes require a unique IV or nonce per message, and reuse can be catastrophic. In NextSSL, CTR and OFB are listed with stream ciphers because they produce a keystream.

Families

7