MystenLabs / MystenLabs/fastcrypto
[secp256r1] Verify signature using message hash
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 311
- Forks
- 173
- Avg merge
- 22h 47m
- Merged PRs (30d)
- 21
Description
Is it possible to verify a secp256r1 signature when only a hash of the message is known?
There's a verify function accepting plaintext message, but no verify_prehash like in p256::ecdsa.
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 by locating the secp256r1 signature verification implementation and compare its API with p256::ecdsa's verify_prehash support. Determine how a hash-only verification path should be exposed and tested; done means callers can verify a secp256r1 signature from a message hash without plaintext.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cryptography
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100