Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SHA-256 or SHA-512 when signing? #14

Closed
mycognosist opened this issue Apr 15, 2023 · 3 comments
Closed

SHA-256 or SHA-512 when signing? #14

mycognosist opened this issue Apr 15, 2023 · 3 comments

Comments

@mycognosist
Copy link
Contributor

Hey friends, just wondering which hash function should be used when signing messages? sha256 or sha512?

@hackergrrl
Copy link
Member

hackergrrl commented Apr 17, 2023

Great question. Are you working on an implementation? I've updated the spec to reflect these details:

https://github.com/cabal-club/cable/tree/v1-draft#42-ed25519

I've chosen SHA-512 primarily to be in alignment with what libsodium is using, since that's what we're using for the reference implementation.

@mycognosist
Copy link
Contributor Author

Whoop! Thanks for the clarification. I really like the addition you made to the spec. I had looked around in the libsodium docs for a short while but quickly gave up the search.

Are you working on an implementation?

Just tinkering ^_^

@hackergrrl
Copy link
Member

Same re: the documentation. I usually end up having to scan the source.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants