org.bouncycastle.crypto.modes (Bouncy Castle Library 1.85 API Specification)
Date: 2026-07-12

# Package org.bouncycastle.crypto.modes

Modes for symmetric ciphers.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  AEADBlockCipher | An `AEADCipher` based on a `BlockCipher`.
  AEADCipher | A cipher mode that includes authenticated encryption with a streaming mode and optional associated data.
  CBCModeCipher |
  CCMModeCipher |
  CFBModeCipher |
  CTRModeCipher |
  GCMModeCipher |

- Class Summary
  Class | Description
  --- | ---
  CBCBlockCipher | implements Cipher-Block-Chaining (CBC) mode on top of a simple cipher.
  CCMBlockCipher | Implements the Counter with Cipher Block Chaining mode (CCM) detailed in NIST Special Publication 800-38C.
  CFBBlockCipher | implements a Cipher-FeedBack (CFB) mode on top of a simple cipher.
  ChaCha20Poly1305 |
  CTSBlockCipher | A Cipher Text Stealing (CTS) mode cipher.
  EAXBlockCipher | A Two-Pass Authenticated-Encryption Scheme Optimized for Simplicity and Efficiency - by M.
  G3413CBCBlockCipher | An implementation of the CBC mode for GOST 3412 2015 cipher.
  G3413CFBBlockCipher | An implementation of the CFB mode for GOST 3412 2015 cipher.
  G3413CTRBlockCipher | implements the GOST 3412 2015 CTR counter mode (GCTR).
  G3413OFBBlockCipher | An implementation of the OFB mode for GOST 3412 2015 cipher.
  GCFBBlockCipher | An implementation of the GOST CFB mode with CryptoPro key meshing as described in RFC 4357.
  GCMBlockCipher | Implements the Galois/Counter mode (GCM) detailed in NIST Special Publication 800-38D.
  GCMSIVBlockCipher | GCM-SIV Mode.
  GOFBBlockCipher | implements the GOST 28147 OFB counter mode (GCTR).
  KCCMBlockCipher | Implementation of DSTU7624 CCM mode.
  KCTRBlockCipher | Implementation of DSTU7624 CTR mode
  KGCMBlockCipher | Implementation of DSTU7624 GCM mode.
  KXTSBlockCipher | Implementation of DSTU7624 XTS mode
  NISTCTSBlockCipher | A Cipher Text Stealing (CTS) mode cipher.
  OCBBlockCipher | An implementation of RFC 7253 on The OCB Authenticated-Encryption Algorithm.
  OFBBlockCipher | implements a Output-FeedBack (OFB) mode on top of a simple cipher.
  OldCTSBlockCipher | A Cipher Text Stealing (CTS) mode cipher.
  OpenPGPCFBBlockCipher | Implements OpenPGP's rather strange version of Cipher-FeedBack (CFB) mode on top of a simple cipher.
  PaddedBlockCipher | Deprecated use org.bouncycastle.crypto.paddings.PaddedBufferedBlockCipher instead.
  PGPCFBBlockCipher | Implements OpenPGP's rather strange version of Cipher-FeedBack (CFB) mode on top of a simple cipher.
  SICBlockCipher | Implements the Segmented Integer Counter (SIC) mode on top of a simple block cipher.
  XChaCha20Poly1305 | XChaCha20-Poly1305 AEAD construction as described in draft-irtf-cfrg-xchacha-03 sec. 2.4.

## Package org.bouncycastle.crypto.modes Description

Modes for symmetric ciphers.