Skip to content

Quick implementation of RSA and Elliptic Curve to help understand ECC

Notifications You must be signed in to change notification settings

SamRond/encryption_methods

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a simple demo file, developed to help me wrap my head around the concept of Elliptic Curve Cryptography (ECC).

There are several demos included. In the rsa.py file, a simple implementation of the RSA algorithm is demonstrated on UTF-8 encoded characters.

In the ecc.py file, a general implementation of ECC is created, and used for an instance of the secp256k1 curve.

This curve is used in the ecdh.py file to demonstrate the Diffie-Hellman key exchange protocol with an Elliptic Curve.

The curve is also used in the ecdsa.py file to demonstrate the Digital Signature Algorithm (DSA) with an Elliptic Curve.

About

Quick implementation of RSA and Elliptic Curve to help understand ECC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages