botan.modes.mode_pad

ECB/CBC Padding Methods

Members

Classes

ANSIX923Padding
class ANSIX923Padding

ANSI X9.23 Padding

NullPadding
class NullPadding

Null Padding

OneAndZerosPadding
class OneAndZerosPadding

One And Zeros Padding

PKCS7Padding
class PKCS7Padding

PKCS#7 Padding

Interfaces

BlockCipherModePaddingMethod
interface BlockCipherModePaddingMethod

Block Cipher Mode Padding Method This class is pretty limited, it cannot deal well with randomized padding methods, or any padding method that wants to add more than one block. For instance, it should be possible to define cipher text stealing mode as simply a padding mode for CBC, which happens to consume the last two block (and requires use of the block cipher).

Meta

License

Botan is released under the Simplified BSD License (see LICENSE.md)