Compute Bob's public Diffie-Hellman value. This is toy arithmetic only, not deployable security.

Example

Compute Bob's public Diffie-Hellman value.

highlighted = computed this step

Step 1 — Set up

Set up the exact toy cryptography values.

p, g, b(23, 5, 15)\begin{array}{c|c}\text{p, g, b}&\text{(23, 5, 15)}\end{array}

Step 2 — Public key

Compute the highlighted cryptography value.

B19\begin{array}{c|c}\text{B}&\hlmath{\text{19}}\end{array}
cryptography The values in this lesson are deliberately tiny so every modular arithmetic step can be checked exactly.