ruby / ruby/digest

Add SHA3?

Open
#66 3 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
51
Forks
37
Avg merge
8h 16m
Merged PRs (30d)
4

Description

Would you be ok with a PR adding SHA3? I'd integrate the code here:

https://github.com/mjosaarinen/tiny_sha3

which is MIT-licensed. The C code is a single, short file and has the init/update/finalize API that all Digests seem to use.

There are two existing rubygems which provide SHA3 but the C code is more complex.

https://github.com/phusion/digest-sha3-ruby
https://github.com/johanns/sha3

See also #10

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the digest framework and the single-file tiny_sha3 implementation linked in the issue, then compare the APIs of the existing digest-sha3-ruby and sha3 gems. Done means SHA3 is integrated into this project using the framework's init/update/finalize API and its behavior is covered by the project's digest checks.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, ruby
Domain
cryptography
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.