We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70c6902 commit 87cd20fCopy full SHA for 87cd20f
exercises/diffie-hellman/description.md
@@ -19,7 +19,7 @@ the same to pick a private key b.
19
20
Alice calculates a public key A.
21
22
- A = g^a mod p
+ A = gᵃ mod p
23
24
Using the same p and g, Bob similarly calculates a public key B from his
25
private key b.
@@ -28,11 +28,11 @@ private key b.
28
29
Alice and Bob exchange public keys. Alice calculates secret key s.
30
31
- s = B^a mod p
+ s = Bᵃ mod p
32
33
Bob calculates
34
35
- s = A^b mod p
+ s = Aᵇ mod p
36
37
The calculations produce the same result! Alice and Bob now share
38
secret s.
0 commit comments