ocean.io.digest.Fnv1

TODO: move module to ocean.util.digest

Members

Aliases

Fnv132Const
alias Fnv132Const = Fnv1Const!(uint)

Aliases for Fnv1 32 and 64 bit magic constants.

Fnv164Const
alias Fnv164Const = Fnv1Const!(ulong)
Undocumented in source.
Fnv1a
alias Fnv1a = Fnv1Generic!(true)

Convenience aliases for 32-bit and 64-bit Fnv1 class template instances. Must be defined after Fnv1Const to avoid DMD errors

Fnv1a32
alias Fnv1a32 = Fnv1Generic!(true, uint)
Undocumented in source.
Fnv1a64
alias Fnv1a64 = Fnv1Generic!(true, ulong)
Undocumented in source.

Classes

Fnv1Generic
class Fnv1Generic(bool FNV1A = false, T = hash_t)

Fowler / Noll / Vo (FNV) 1/1a Hash Module

FnvDigest
class FnvDigest

abstract Fnv1 digest class

Templates

Fnv1Const
template Fnv1Const(T = hash_t)

template for creating FNV magic constants and endianness, depending on if 32bit (uint) or 64bit (ulong) are used.

StaticFnv1a
template StaticFnv1a(T = hash_t)

Compile time fnv1a hash function, calculates a hash value of type T where T must be uint or ulong.

StaticFnv1a32
template StaticFnv1a32(istring input)

Templates for compile-time FNV1a hashing.

StaticFnv1a32
template StaticFnv1a32(uint hash, istring input)
Undocumented in source.
StaticFnv1a64
template StaticFnv1a64(istring input)
Undocumented in source.
StaticFnv1a64
template StaticFnv1a64(ulong hash, istring input)
Undocumented in source.

Meta

License

Boost Software License Version 1.0. See LICENSE_BOOST.txt for details. Alternatively, this file may be distributed under the terms of the Tango 3-Clause BSD License (see LICENSE_BSD.txt for details).