Files

322 B

Symmetrical Padding

Pads or unpads data using a symmetrical padding algorithm.

Source library: cryptography

Parameters

  • padding_data: The data to pad or unpad.
  • block_size: The block size to use for padding.
  • algorithm: The padding algorithm to use.
  • mode: Whether to pad or unpad the data.