An open API service indexing awesome lists of open source software.

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*

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?