Skip to content

Elliptic curve operations over secp256k1 *not for production*

License

Notifications You must be signed in to change notification settings

elichai/ecc-secp256k1

Repository files navigation

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:

  • ECDSA
  • ECDH
  • Implement DER formats.
  • Test against a known secp256k1 library.
  • Add NIST test vectors
  • Replace random k with deterministic(ECDSA).
  • Remove the usage of GMP library.
  • Look into implementing sha2 myself.
  • Remove all unimplemented!() and add checks for the points all over.
  • Add BIP Schnorr support.
  • Add BIP Schnorr Test vectors.
  • Implement MuSig.
  • Bulletproofs?

About

Elliptic curve operations over secp256k1 *not for production*

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published