ContentHasher

fun interface ContentHasher

Strategy for computing a content hash from text. Used for content-based deduplication across the DICE pipeline.

Inheritors

Functions

Link copied to clipboard
abstract fun hash(text: String): String

Compute a hash of the given text.