blake3

Undocumented in source.

Modules

binding
module blake3.binding
Undocumented in source.

Members

Aliases

Hasher
alias Hasher = blake3_hasher
Undocumented in source.

Functions

BLAKE3
auto BLAKE3()

A BLAKE3 hasher.

BLAKE3
auto BLAKE3(ubyte[BLAKE3_KEY_LEN] key)

A BLAKE3 hasher with a key.

BLAKE3
auto BLAKE3(char* context)

A BLAKE3 hasher with a derived key.

BLAKE3
auto BLAKE3(const(void)* context, size_t contextLen)

A BLAKE3 hasher with a raw derived key.

blake3Of
ubyte[L] blake3Of(void[] data, ubyte[32] key)
Undocumented in source. Be warned that the author may not have intended to support it.
blake3Of
ubyte[L] blake3Of(void[] data)

Compute the BLAKE3 hash value of data.

finish
ubyte[L] finish(Hasher hasher)
ubyte[L] finish(Hasher hasher, ulong seek)
void finish(Hasher hasher, ubyte[] output)
void finish(Hasher hasher, ubyte[] output, ulong seek)

Finalize the hasher and return the hash value.

put
void put(Hasher hasher, void[] data)

Update the hasher with data.

reset
void reset(Hasher hasher)

Reset the hasher to its initial state.

Mixins

libblake3
mixin dynamicBinding!(blake3.binding) libblake3
Undocumented in source.

Variables

emptyHash
enum ubyte[32] emptyHash;

The hash value of empty input.

Meta