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

Bounty: HMAC #109

Closed
2 tasks done
Tracked by #108
Autoparallel opened this issue Jul 1, 2024 · 2 comments · Fixed by #147
Closed
2 tasks done
Tracked by #108

Bounty: HMAC #109

Autoparallel opened this issue Jul 1, 2024 · 2 comments · Fixed by #147

Comments

@Autoparallel
Copy link
Contributor

Autoparallel commented Jul 1, 2024

Hash-based Message Authentication Code: HMAC-SHA256

HMAC is a message authentication code that allows you to verify both, Data integrity and Authenticity, of a message. We currently have no tool like this in ronkathon. It involves using multiple primitives together.

Requirements
An implementation of HMAC-SHA256 using ronkathon's SHA256 hash satisfying:

Resources

Criteria
The winner will be selected based on the following criteria, in this order:

  • Thorough convincing that the implementation is completely correct. (Requirements at least met.)
    Code clarity and quality. This means succinct code that is easy to follow, naming, minimal use of other resources (no outside crates, please), use of Rust’s type system for flexibility and security (e.g., compile time checks where possible). Optimizations are a bonus, but should be de-prioritized for clarity. (Bonus points: If you want to add in slick optimizations, please gate these behind a feature!)
  • Documentation quality. Other modules in ronkathon have wonderful READMEs, Cargo docs, and inline comments where code itself is not clear enough. ronkathon is primarily an educational toolbox and playground. We prioritize clarity, readability, and our contributors’ ability to learn and grow over anything. Help us maintain this quality throughout!
@0xJepsen 0xJepsen changed the title example: HMAC Bounty: HMAC Aug 9, 2024
@0xJepsen 0xJepsen pinned this issue Aug 9, 2024
@madschristensen99
Copy link

This feels like you are trying to get hackers to just do your company's work for you

@0xJepsen
Copy link
Contributor

0xJepsen commented Aug 9, 2024

We don't use any of this code in production and it's strictly a learning resource so i am not sure how the company benefits from this work other from collaborating and learning with community. As we are sponsoring the hackathon in zkmontreal we decided to offer financial bounties to help people learn about different cryptographic primitives 😊!

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

Successfully merging a pull request may close this issue.

3 participants