---
title: "hashChain"
sidebar_label: "hashChain"
description: "Kotlin binding reference: hashChain."
---

<!-- Generated by tools/api_reference/generate_api_docs.py. Do not edit. -->

//[clika-runtime](../../../index.md)/[io.clika.runtime](../index.md)/[Ops](index.md)/[hashChain](hashChain.md)

# hashChain

[common]\
fun [hashChain](hashChain.md)(rows: [Tensor](../Tensor/index.md), parent: [Tensor](../Tensor/index.md), seed: [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html) = 0): [Tensor](../Tensor/index.md)

`hashChain(rows: Tensor, parent: Tensor, seed: Long = 0L)`: the `hash_chain` operator. Rowwise 128-bit CHAINED hash: for `rows [N, ..]` and a `[2]` UInt64 `parent` (zeros = the chain's zero element), row `i`'s digest hashes (digest `i-1` ‖ row `i`'s packed bytes); one dispatch computes a whole sequence's rolling content hashes. Same portability contract as `hash_64`.