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

Confusing sha512 in README.md #2

Open
Schaeff opened this issue Jun 18, 2019 · 1 comment
Open

Confusing sha512 in README.md #2

Schaeff opened this issue Jun 18, 2019 · 1 comment

Comments

@Schaeff
Copy link
Member

Schaeff commented Jun 18, 2019

raw_msg = "This is my secret message"
msg = hashlib.sha512(raw_msg.encode("utf-8")).digest()

People misunderstood this sha512 call as part of the signature, where it's just a way to compress the input to 512bits. We should make it clear that EdDSA does not make use of sha512.

cc @stefandeml

@1ybe
Copy link

1ybe commented Aug 23, 2021

raw_msg = "This is my secret message"
msg = hashlib.sha512(raw_msg.encode("utf-8")).digest()

People misunderstood this sha512 call as part of the signature, where it's just a way to compress the input to 512bits. We should make it clear that EdDSA does not make use of sha512.
252 bits input
cc @stefandeml
IMG_٢٠٢١٠٨١٠_٠٤٥٥٥١

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