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

Crypto api #767

Closed
wants to merge 9 commits into from
Closed

Crypto api #767

wants to merge 9 commits into from

Conversation

maurolacy
Copy link
Contributor

@maurolacy maurolacy commented Feb 4, 2021

Closes first part of #751. Proof of concept secp256k1 signature verification, for Cosmos signatures.

Based on the secp256k1 crate, which is a wrapper around libsecp256k1, a C library by Pieter Wuille for producing ECDSA signatures using the SECG curve secp256k1.

I don't think we'll end up merging this, as after talks I'm now working on a new impl, based on the k256 crate. Which, besides being Rust-only, includes support for ed25519 and the hash algorithm Ethereum uses (keccak256).

So, we'll in principle have an all-in-one, Rust-only solution with that crate.

Creating as Draft PR anyway. For feedback / reviews, and also for reference / future uses.

@webmaster128
Copy link
Member

Great to see this working as an intermediate step. Closing as #770 is a superiour alternative.

@webmaster128 webmaster128 deleted the crypto-api branch February 5, 2021 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants