This repository contains C++ implmentations of Elliptic Curve Cryptography (ECC) for educational purposes.
This code is based on the blog post series Elliptic Curve Cryptography: a gentle introduction
- Test modular arithmetic operations
- Explorer basic functions of elliptic curves
- Perform ECDH (Elliptic Curve Diffie-Hellman) key exchange
- Calcualte solutions to the discrete logarithm problem (DLP)
-
Clone the repository and navigate to the project directory:
$ git clone https://github.com/minsubb13/ECC.git $ cd ECC/
-
Complie the code:
$ make
-
Run the program with all cases:
$ ./ecc all
For additional commands and options, use the help command:
$ ./ecc help
-
Implementation of big number library (like
GMP
,BIGNUM
) -
Implementation to Rust