RustCrypto / RustCrypto/hashes
Exposing blake2 compression function
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 2.3k
- Forks
- 340
- Avg merge
- 12h 31m
- Merged PRs (30d)
- 2
Description
Hi,
Would it be in scope to expose the compression function for blake2?
The usecase I have in mind is to replace this particular function: https://github.com/bluealloy/revm/blob/b8396776a9d53e1553c0396c96a14b461cda17ce/crates/precompile/src/blake2.rs#L55
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked revm entry point, crates/precompile/src/blake2.rs at line 55, and compare that use case with the RustCrypto hashes repository's Blake2 implementation. Clarify the public API and compatibility requirements for exposing the compression function; done means an agreed, documented API with coverage for the intended use case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cryptography
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100