public static final class Padding.ID extends IntConstant
There are two supported options for padding:
- NONE which means that input to block ciphers must be a multiple of the block size
- PKCS5 which means that encryption input can be any length and will be padded to a multiple of the block size, while decryption of any ciphertext that was created from a non-PKCS5 padded plaintext will almost certainly fail
Padding
description, value
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString()
Returns a string representation of this object, of the form "description(value)".
|
getDescription, getValue
public java.lang.String toString()
IntConstant
toString
in class IntConstant