xxhash

CategoryFunctions
Template APIXXHash
HelpersxxhashOf

xxhash: Extremely fast non-cryptographic hash algorithm

Members

Functions

xxhashOf
uint xxhashOf(ubyte[] source, uint seed)

Computes xxhash hashes of arbitrary data.

Structs

XXHash
struct XXHash

xxhash object implements std.digest like API for supporting streaming update.

Examples

uint hashed = xxhashOf(cast(ubyte[])"D-man is so cute");
assert(hashed == 3228048616);

See Also

Meta

License

<a href="http://www.boost.org/LICENSE_1_0.txt">Boost License 1.0</a>.

Authors

Masahiro Nakagawa