Interface SingleBlockEncryptor<T extends Parameters>

    • Method Detail

      • encryptBlock

        byte[] encryptBlock​(byte[] bytes,
                            int offSet,
                            int length)
                     throws PlainInputProcessingException
        Encrypt a single block of data, returning the result.
        Parameters:
        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.
        Returns:
        a byte array holding the encrypted result.
        Throws:
        PlainInputProcessingException - if there is an issue processing the input provided.