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

# Package org.bouncycastle.crypto.paddings

Paddings for symmetric ciphers.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  BlockCipherPadding | Block cipher padders are expected to conform to this interface

- Class Summary
  Class | Description
  --- | ---
  ISO10126d2Padding | A padder that adds ISO10126-2 padding to a block.
  ISO7816d4Padding | A padder that adds the padding according to the scheme referenced in ISO 7814-4 - scheme 2 from ISO 9797-1.
  PaddedBufferedBlockCipher | A wrapper class that allows block ciphers to be used to process data in a piecemeal fashion with padding.
  PKCS7Padding | A padder that adds PKCS7/PKCS5 padding to a block.
  TBCPadding | A padder that adds Trailing-Bit-Compliment padding to a block.
  X923Padding | A padder that adds X9.23 padding to a block - if a SecureRandom is passed in random padding is assumed, otherwise padding with zeros is used.
  ZeroBytePadding | A padder that adds NULL byte padding to a block.

## Package org.bouncycastle.crypto.paddings Description

Paddings for symmetric ciphers.