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

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

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

# hash64

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

`hash64(input: Tensor, seed: Long = 0L)`: the `hash_64` operator. 64-bit content hash of `input`'s packed bytes (row-major logical order; strided inputs are materialized internally). A frozen function of (seed, bytes): identical on every platform, backend, and ISA tier, so digests are safe to persist and compare across devices. `seed` perturbs the key; 0 selects the runtime's fixed content-addressing key.