https://github.com/elichai/ecc-secp256k1
Elliptic curve operations over secp256k1 *not for production*
https://github.com/elichai/ecc-secp256k1
cryptography ecdsa rust schnorr secp256k1
Last synced: 7 months ago
JSON representation
Elliptic curve operations over secp256k1 *not for production*
- Host: GitHub
- URL: https://github.com/elichai/ecc-secp256k1
- Owner: elichai
- License: mit
- Created: 2019-04-08T18:30:39.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-06-08T08:55:01.000Z (over 3 years ago)
- Last Synced: 2025-02-28T06:57:47.979Z (8 months ago)
- Topics: cryptography, ecdsa, rust, schnorr, secp256k1
- Language: Rust
- Homepage:
- Size: 109 KB
- Stars: 18
- Watchers: 3
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ecc-secp256k1
## This repository is for learning purposes only, please *DO NOT* use in production
This repository aims to create a pure rust ECC library (in the end secp256k1 only).
right now it's *not* optimized, *not* constant time
It provides both low level API (Mul/Add/Div etc.), and Private/Public Keys interface with ECDSA, ECDH and Schnorr.## TODO:
- [x] ECDSA
- [x] ECDH
- [x] Implement DER formats.
- [x] Test against a known secp256k1 library.
- [x] ~~Add NIST test vectors~~
- [x] Replace random `k` with deterministic(ECDSA).
- [ ] Remove the usage of GMP library.
- [x] Look into implementing sha2 myself.
- [ ] Remove all `unimplemented!()` and add checks for the points all over.
- [x] Add BIP Schnorr support.
- [x] Add BIP Schnorr Test vectors.
- [ ] Implement MuSig.
- [ ] Bulletproofs?