odin-lang / Odin

Odin Programming Language
https://odin-lang.org
BSD 3-Clause "New" or "Revised" License
6.73k stars 588 forks source link

Add new algorithm `BLAKE2b` to `#load_hash` #2211

Open odiferousmint opened 1 year ago

odiferousmint commented 1 year ago

Hello.

Since it is a compile-time directive, you cannot extend it yourself from the source code (I wonder if this would ever be possible though).

I would like to see BLAKE2b256 (and/or BLAKE2b512) added to the list of supported hash algorithms.

Some useful links:

There are lots of self-contained C implementations of this algorithm in the wild anyways.

Kelimion commented 1 year ago

Will look into this for the December release.