While learning about [RaiBlocks](https://github.com/clemahieu/raiblocks), I'm trying to replicate some of its functionality using Haskell. As it is explained in their [design document](https://github.com/clemahieu/raiblocks/wiki/Design-features), ED25519 is used for key handling, but Blake2b is used instead of SHA-512 for hashing. I have searched a way to select hashing type in Cryptonite, but it seems that SHA-512 is hardcoded in the C implementation (see [here](https://github.com/haskell-crypto/cryptonite/blob/master/cbits/ed25519/ed25519-hash.h)). Maybe I'm mistaken, but if that is not the case, would it be possible to add a way to select Blake2b? Thanks in advance! P/D: I'm willing to contribute a patch if minimal instructions are given (it is my 1st time using Cryptonite)
While learning about RaiBlocks, I'm trying to replicate some of its functionality using Haskell.
As it is explained in their design document, ED25519 is used for key handling, but Blake2b is used instead of SHA-512 for hashing.
I have searched a way to select hashing type in Cryptonite, but it seems that SHA-512 is hardcoded in the C implementation (see here).
Maybe I'm mistaken, but if that is not the case, would it be possible to add a way to select Blake2b?
Thanks in advance!
P/D: I'm willing to contribute a patch if minimal instructions are given (it is my 1st time using Cryptonite)