Sage and Elliptic Curves: P256 and secp256k1
Published in
3 min readNov 7, 2022
Our world of trust on the Internet is built on a foundation of elliptic curves. Two of the most important of these are NIST P-256 and secp256k1 (as used in Bitcoin, Ethereum and Tor). For this, we can use Sage to model our curves:
In this case, we have the NIST P-256 curve, and which has the form of: