Block Cipher
PronunciationBLOK SY-fer
Definition
A block cipher encrypts data in fixed-size chunks (blocks), such as 16 bytes for AES. A mode of operation (like GCM) then decides how the blocks are chained and how long messages are handled.
Where you hear it
In cryptography libraries, encryption configuration and security reviews of how data is encrypted.
Examples
AES is a block cipher; GCM is the mode we run it in.
Use a fresh random nonce for every message.
AES works on 16-byte blocks, so the message is split and each block is encrypted.
Common mistake
Using ECB mode. Equal plaintext blocks give equal ciphertext, leaking patterns.
Don't confuse with
A stream cipher, which encrypts data one byte or bit at a time.
Say it at work
- In a meeting or chat
Which mode are we using with AES?
- In an email or ticket
Don't roll your own; use a vetted library.