Skip to content

Building a Secret with Math: The Diffie-Hellman Guide

Thursday, 19 February 2026  |  Shiva Shankar

The Variables To start a handshake, we need two public numbers that everyone knows: Base (g): 2 Modulus (p): 19 Step 1: The Private Secrets Two parties, Alice and Shiva, choose secret numbers (Private Keys).