uuid / com.benasher44.uuid / UuidHasher

UuidHasher

interface UuidHasher

Interface for computing a hash for a "Name-Based" UUID

Properties

version

abstract val version: Int

The UUID version, for which this hash algorithm is being used:

Functions

digest

abstract fun digest(): ByteArray

Completes the hash computation and returns the result

update

abstract fun update(input: ByteArray): Unit

Updates the hash's digest with more bytes