T
- the parameters type for the decryptor's cipher..public interface SingleBlockDecryptor<T extends Parameters> extends SingleBlockCipher<T>
Modifier and Type | Method and Description |
---|---|
byte[] |
decryptBlock(byte[] bytes,
int offSet,
int length)
Decrypt a single block of data, returning the result.
|
getInputSize, getOutputSize, getParameters
byte[] decryptBlock(byte[] bytes, int offSet, int length) throws InvalidCipherTextException
bytes
- array holding encrypted block.offSet
- offset into bytes where encrypted data starts.length
- the number of bytes of encrypted data in the bytes array.InvalidCipherTextException
- in the event the data is inappropriate for the cipher implemented.