Skip to content

sydhds/rust_ecc_curves

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Curves

A toy elliptic curve implementation in Rust enough to experiment with key exchange

Idea from: https://curves.xargs.org/

Run the tests

Please check the unit test named: test_key_exchange in curve61.rs:

cargo test

TODO

  • FiniteField61: auto generate mul_inverse & square_root automatically
  • Improve FiniteField trait
  • Curve61 point add: handle point addition with INF
  • Add a way to plot the Curve61 in real numbers & in FiniteField61
  • Add Curve61 Montgomery ladder
      • benchmark
  • Improve EllipticCurve trait
    • add trait based implementation of eval_at / point_add / point_mul
      • add Curve23 and add test_key_exchange too
  • Add Curve25519 impl
    • test it against openssl?
  • Add more doc & comments

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages