class RemiLib::Digest::XXHash3

Overview

An implementation of xxHash that produces 64-bit hashes using the XXH3 algorithm.

Defined in:

remilib/digest/xxhash.cr
remilib/digest/xxhash/xxhash3-internal.cr

Class Method Summary

Instance methods inherited from class Object

toRsconf(io : IO, *, indentSize : Int = 2, alwaysQuoteKeys : Bool = false, explicitRootObject : Bool = false, commaAfterValues : Bool = false, extraNewlineBetweenToplevelKeys : Bool = false) : Nil
toRsconf(*, indentSize : Int = 2, alwaysQuoteKeys : Bool = false, explicitRootObject : Bool = false, commaAfterValues : Bool = false, extraNewlineBetweenToplevelKeys : Bool = false) : String
toRsconf

Class methods inherited from class Object

fromRsconf(toplevel : RemiLib::RSConf::RSValue)
fromRsconf(data : String | IO | Path)
fromRsconf

Class Method Detail

def self.calculate(buf : Bytes | Array(UInt8), seed : UInt64 = 0) : UInt64 #

Calculates the hash for buf and returns it.


[View source]