🤖
Roadie · AI Tutor
Let's explore Elliptic Curve Cryptography — the math behind CarKeys.
An elliptic curve is defined by the equation:
y² = x³ + ax + b
The key insight is that adding two points on a curve produces a third point, and this operation is easy to do but computationally impossible to reverse — that's what makes it secure.
Curve Equation
math
# secp256k1 curve (used by Bitcoin & CarKeys)
y² = x³ - 3x + 1
# Point operations
Point addition: P + Q = R
Scalar multiply: k × P = Public Key
# Key relationship
Private key k: secret integer
Public key P: point on curve
Quick Check
What makes ECC secure?
AA
So CarKeys uses this to generate keypairs?
🤖
Roadie · AI Tutor
Exactly! CarKeys uses secp256k1 (the same curve as Bitcoin) for ECDSA signatures. Here's how it connects:
- Your private key = random integer k
- Your public key = k × G (generator point)
- Signing = math using private key
- Verification = math using public key only
Want to see how key rotation works next?