EC Cryptography Tutorials - Herong's Tutorial Examples - v1.04, by Herong Yang
Generating EC Keys in Python
This chapter provides tutorial notes on generating EC (Elliptic Curve) keys with Python scripts. Topics covered include using the cryptography and PyCryptodome libraries to generate EC private-public key pairs; selecting different elliptic curves; exporting and importing EC keys.
"cryptography.hazmat.primitives.asymmetric.ec" - Generate EC Keys
"serialization.load_pem_private_key()" - Load EC Private Key
Takeaways:
Table of Contents
Geometric Introduction to Elliptic Curves
Algebraic Introduction to Elliptic Curves
Abelian Group and Elliptic Curves
Discrete Logarithm Problem (DLP)
Generators and Cyclic Subgroups
tinyec - Python Library for ECC
ECDH (Elliptic Curve Diffie-Hellman) Key Exchange
ECDSA (Elliptic Curve Digital Signature Algorithm)