00:01
In this question, the given parameters are as it is prime number that is p is equals to 13.
00:11
Then we have primitive root which is small g that is equals to 2.
00:19
Then l is private exponent that is small a that is equals to 5.
00:30
Next is bob's private exponent small p that is equals to 4.
00:37
Now calculate intermediate value for alice that is a, capital a that is equals to g power a mod p.
00:52
G is a primitive root that is 2.
00:55
A is 5 mod p is 13.
00:58
A is equals to 2 power 5 is 32 mod 13.
01:05
Now 13, those are 26.
01:08
The remainder left is 6.
01:11
Now we get a is equals to 6, the intermediate value alice.
01:17
Similarly, the intermediate value bob calculates the intermediate value as a that is equals to g power p mod p where g is 2, p is 4 mod 13.
01:36
2 power 4 is 16 mod 13.
01:41
Now p is equals to 3.
01:44
13 ones are 13, 3 remainder left...