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

Suggestion for problem 06 #14

Open
stefanlenoach opened this issue Jun 2, 2018 · 2 comments
Open

Suggestion for problem 06 #14

stefanlenoach opened this issue Jun 2, 2018 · 2 comments

Comments

@stefanlenoach
Copy link

Hey really enjoying your tutorial so far! One suggestion for problem 06: it wasn't obvious to me that in order to get the matching hash value of "Hello, World!" using sodium.crypto_generichash we need to use an output buffer of 32 bytes. Perhaps it was your intention to have people figure this out on their own, but if you'd like to make it more straightforward you might consider including this info. Looking forward to getting through the rest of this!

@mafintosh
Copy link
Member

Ah yes. I agree we could make that clearer. Do you want to send a PR?

@aral
Copy link
Contributor

aral commented Feb 5, 2019

There is a hint in the text to use crypto_generichash_BYTES, which currently returns 32.

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

3 participants