struct

Komihash::Stream

Inherits Struct < Value < Object

Context structure for the streamed "komihash" hashing.

Constructors

new(*, use_seed : UInt64 = 0_u64)

Initialize stream with zeros.

Instance methods

final

Finalize the streamed "komihash" hashing session.

reset(use_seed : UInt64 = 0_u64) : Nil

Reset stream.

update(data : Bytes) : Nil

Update the streamed hashing state with a new input data.

update(data) : Nil

Update the streamed hashing state with a new input data.