Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.

Alternative ED25519 hashΒ #212

@rainbyte

Description

@rainbyte

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions