Method | Description | |
---|---|---|
AddPadding ( byte input, int inOff ) : int |
add the pad bytes to the passed in block, returning the number of bytes added. Note: this assumes that the last block of plain text is always passed to it inside in. i.e. if inOff is zero, indicating the entire block is to be overwritten with padding the value of in should be the same as the last block of plain text.
|
|
Init ( |
Initialise the padder.
|
|
PadCount ( byte input ) : int |
return the number of pad bytes present in the block.
|
public AddPadding ( byte input, int inOff ) : int | ||
input | byte | |
inOff | int | |
return | int |
public Init ( |
||
random | - a SecureRandom if available. /// | |
return | void |