blake2d

Computes BLAKE2b and BLAKE2s hashes of arbitary data. Reference: IETF RFC 7693

Members

Aliases

BLAKE2b512
alias BLAKE2b512 = BLAKE2!(BLAKE2Variant.b, 512)

Alias for BLAKE2b-512

BLAKE2b512Digest
alias BLAKE2b512Digest = WrapperDigest!BLAKE2b512

OOP API BLAKE2 implementation aliases.

BLAKE2s256
alias BLAKE2s256 = BLAKE2!(BLAKE2Variant.s, 256)

Alias for BLAKE2s-256

BLAKE2s256Digest
alias BLAKE2s256Digest = WrapperDigest!BLAKE2s256

OOP API BLAKE2 implementation aliases.

blake2_Of
alias blake2_Of = blake2b_Of

Alias of blake2b_Of.

Enums

BLAKE2Variant
enum BLAKE2Variant

Used with the BLAKE2 structure template to make the BLAKE2s and BLAKE2p aliases.

Functions

blake2b_Of
auto blake2b_Of(T data)

Convience alias for std.digest.digest using the BLAKE2b-512 implementation.

blake2s_Of
auto blake2s_Of(T data)

Convience alias for std.digest.digest using the BLAKE2s-256 implementation.

Manifest constants

BLAKE2D_VERSION_STRING
enum BLAKE2D_VERSION_STRING;
Undocumented in source.

Structs

BLAKE2
struct BLAKE2(BLAKE2Variant var, uint digestSize)

BLAKE2 structure template.

Meta