Halloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PCHalloween DealsAmazon USOctober picks are moving - compare before checkoutAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk2 min

Mode of Operation in Cryptography: Key Facts to Know

A cryptographic mode of operation specifies how a block cipher processes data and what service—such as confidentiality or authentication—it provides.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

In cryptography, a mode of operation is a method for using a block cipher to process data and provide a service such as confidentiality or authentication. The cipher is the underlying algorithm; the mode defines how it is applied to data beyond one fixed-size block. The phrase has other meanings in other fields, so this explanation is specifically about cryptography.

What a mode of operation does

A block cipher transforms data in fixed-size blocks. A mode specifies how to use that cipher, often through multiple calls, to handle application data and provide a defined cryptographic service. NIST states that AES has a 128-bit block size; that figure describes the size of each block, not the key length. NIST IR 8459 (September 2024) also gives Triple-DES a 64-bit block size.

As an Amazon Associate I earn from qualifying purchases.

Think of the cipher as the core transformation and the mode as the method for applying it. A cipher alone does not specify how a message of arbitrary length should be processed. The mode supplies that operating framework.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Block cipher versus mode

AES is a block cipher. CBC, CTR, and GCM are examples of modes used with block ciphers. They are not alternative names for the cipher itself, and they do not all offer the same service. NIST’s glossary defines the term in context, while its block-cipher techniques overview describes the different mode families.

What services modes can provide

Modes are designed for different cryptographic purposes. Some are confidentiality modes: they specify how a block cipher is used to encrypt and decrypt data. Other specifications address authentication or authenticated encryption, which combines confidentiality with a means to detect unauthorized changes. GCM and CCM are examples of authenticated-encryption modes covered by NIST’s mode work. NIST’s overview distinguishes these service categories.

The five modes specified for confidentiality in NIST SP 800-38A are:

  • Electronic Codebook (ECB)
  • Cipher Block Chaining (CBC)
  • Cipher Feedback (CFB)
  • Output Feedback (OFB)
  • Counter (CTR)

This is the set covered by that recommendation, not a complete list of every block-cipher mode. The publication record for NIST SP 800-38A is dated December 2001.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Why the choice and implementation matter

Do not assume that modes are interchangeable or that every mode provides authentication. A mode’s security depends on the mode and how it is used in its application. NIST explains that confidentiality modes use encryption and decryption as inverse processes and that security depends, at minimum, on keeping the key secret. A mode’s detailed operating requirements—including how it handles initialization values, nonces, or input—come from its applicable specification. NIST IR 8459 discusses application-dependent security, and NIST SP 800-38A sets out confidentiality processes.

For a real system, select and implement a mode according to the system’s security requirements and current implementation guidance; the mode name alone does not establish that a particular use is safe.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

In brief

A mode of operation is the method that tells a block cipher how to process data for a cryptographic purpose. The cipher performs the core block transformation; the mode defines how that transformation is used and what service the construction is intended to provide.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Crashes, No Sound, or Screen Glitches?Free driver scan
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.