T - the parameters type for the encryptor's cipher..public interface SingleBlockEncryptor<T extends Parameters> extends SingleBlockCipher<T>
| Modifier and Type | Method and Description |
|---|---|
byte[] |
encryptBlock(byte[] bytes,
int offSet,
int length)
Encrypt a single block of data, returning the result.
|
getInputSize, getOutputSize, getParametersbyte[] encryptBlock(byte[] bytes,
int offSet,
int length)
throws PlainInputProcessingException
bytes - array holding the data to be encrypted.offSet - offset into bytes where the data starts.length - the number of bytes of data in the bytes array.PlainInputProcessingException - if there is an issue processing the input provided.