Skip to content

A very basic implementation of elliptic curves in Python.

Notifications You must be signed in to change notification settings

markusju/elliptic-curves

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A very basic implementation of elliptic curves in Python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages