ddn.crypto.hash.blake
BLAKE2 and BLAKE3 Hash Implementations.
Types 5
structBlake2bCore
BLAKE2b Core Implementation (Struct for low-level usage).
Fields
ulong[8] hulong[2] tulong[2] fubyte[128] bufsize_t buflensize_t outlenulong[8] IVubyte[16][12] SIGMAclassBlake2bDigest : Hash
structBlake2sCore
Fields
uint[8] huint[2] tuint[2] fubyte[64] bufsize_t buflensize_t outlenuint[8] IVclassBlake2sDigest : Hash
classBlake3Digest : Hash
BLAKE3 Implementation (32-bit words, 256-bit output default).
Uses the same compression function as BLAKE2s but with 7 rounds and fixed IV. Simplified for single-threaded reference (Chunk Loop).
Fields
uint FLAG_CHUNK_STARTuint FLAG_CHUNK_ENDuint FLAG_PARENTuint FLAG_ROOTConstructors
this()