Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 553 Bytes

README.md

File metadata and controls

16 lines (10 loc) · 553 Bytes

elliptic-curves - A basic implementation of elliptic curves in Python

This is a very basic implementation of elliptic curves in Python. It allows to define a $Curve(a, b, p)$ with

$E: y^2 = x^3 + a*x + b\ mod\ p$

The point class allows to operate on this curve and implements native addition, subtraction and multiplication operations in Python.

We provide several examples to demonstrate our implementation:

  • ECDH (Diffie-Hellman)
  • ECDSA (DSA)
  • EC-Elgamal

Please note that this implementation is intended solely for educational purposes.