Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page.
Requires a signed-in GitHub account. This works well for small changes.
If you'd like to make larger changes you may want to consider using
a local clone.
dmd.common.blake3
- nothrow @nogc @safe ubyte[32]
blake3
(scope const ubyte[]data
); - Implementation of Blake 3 hash function with streaming disabled meaning we hash the whole buffer at once. Input is split into 1KB Chunks which could be hashed independently. That said, in the compiler I expect almost all inputs will be 1 chunk.Chunks get split into 64B Blocks which get hashed and then mixed togetherParameters:
ubyte[] data
byte array to hash Returns:Blake 3 hash of data
Copyright © 1999-2024 by the D Language Foundation | Page generated by
Ddoc on (no date time)