Interface SingleBlockDecryptor<T extends Parameters>

    • Method Detail

      • decryptBlock

        byte[] decryptBlock​(byte[] bytes,
                            int offSet,
                            int length)
                     throws InvalidCipherTextException
        Decrypt a single block of data, returning the result.
        Parameters:
        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.
        Returns:
        a byte array holding the decrypted data.
        Throws:
        InvalidCipherTextException - in the event the data is inappropriate for the cipher implemented.