FNV

Template API FNV-1(a) hash implementation.

Members

Aliases

Element
alias Element = uint
Undocumented in source.
Element
alias Element = ulong
Undocumented in source.

Functions

finish
ubyte[bitLength / 8] finish()

Returns the finished FNV digest. This also calls start to reset the internal state.

get
Element get()
Undocumented in source. Be warned that the author may not have intended to support it.
put
void put(const(ubyte)[] data)

Feeds the digest with data.

putStaticArray
void putStaticArray(const(ubyte)[n] data)

Feeds the digest with data being a static array.

start
void start()

Initializes the digest calculation.

Meta