For our first example, let
.
Then
has order
.
(I found
using the function znprimroot in PARI. You can
also just compute the order of
,
, etc., until you find a number
with order
.)
Nikita: Chooses secret
; sends
.
Michael: Chooses secret
; sends
.
Compute Shared Secret:
Nikita:
Michael: