NullPadding
Null padding, also known as zero padding, is a simple padding method used to fill a data block to a required size by appending zero-valued bytes (0x00). It is commonly applied in block cipher schemes where the input must be a multiple of the block size; the last block is extended with as many 0x00 bytes as needed to reach the next multiple.
Removal of padding after decryption involves discarding trailing zero bytes. However, null padding is ambiguous if
Security and reliability considerations are important. Null padding does not provide intrinsic secrecy or integrity guarantees
Usage notes: Null padding is sometimes encountered in legacy systems or specific environments where the data
See also: padding schemes, PKCS padding, padding oracle, block ciphers, authenticated encryption.