java.lang.Object | |
↳ | org.bouncycastle.crypto.paddings.ZeroBytePadding |
A padder that adds NULL byte padding to a block.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
add the pad bytes to the passed in block, returning the
number of bytes added.
| |||||||||||
Return the name of the algorithm the padder implements.
| |||||||||||
Initialise the padder.
| |||||||||||
return the number of pad bytes present in the block.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.bouncycastle.crypto.paddings.BlockCipherPadding
|
add the pad bytes to the passed in block, returning the number of bytes added.
Return the name of the algorithm the padder implements.
Initialise the padder.
random | - a SecureRandom if available. |
---|
IllegalArgumentException |
---|
return the number of pad bytes present in the block.
InvalidCipherTextException |
---|