# Package org.bouncycastle.crypto.modes

Modes for symmetric ciphers.

- 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.

- 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.
  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, licensed per:
  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.