MystenLabs / MystenLabs/fastcrypto

[secp256r1] Verify signature using message hash

Open
#855 2 comments 0 reactions 0 assignees View on GitHub

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

  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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.