Repository containing Lecture 4 demonstration material
Alice wants to verify to Bob that she knows such
- Alice calculates
$P_1 = [x]G_1$ ,$P_2 = [x]G_2$ ,$Q = [y]G_1$ . - Alice sends
$(P_1, P_2, Q)$ to Bob. - Bob verifies that
$e(P_1,P_2) = e(Q, G_2)$ .
# | File | Description |
---|---|---|
1 | pairings.py | Contains all the low-level implementation of pairing. |
2 | demo.sage | Demo itself. |