Fabcoin Core
0.16.2
P2P Digital Currency
|
Padding schemes used for block ciphers. More...
#include <filters.h>
Public Types | |
enum | BlockPaddingScheme { NO_PADDING, ZEROS_PADDING, PKCS_PADDING, ONE_AND_ZEROS_PADDING, DEFAULT_PADDING } |
Padding schemes used for block ciphers. More... | |
Padding schemes used for block ciphers.
DEFAULT_PADDING means PKCS_PADDING if cipher.MandatoryBlockSize() > 1 && cipher.MinLastBlockSize() == 0
, which holds for ECB or CBC mode. Otherwise, NO_PADDING for modes like OFB, CFB, CTR, CBC-CTS.