262 B
262 B
toy Diffie-Hellman key exchange
Uses 256-bit Sophie-Germain primes for stuff
nix run git+https://git.pyrope.net/mbk/diffie-hellman
Run with
- 0 arguments to generate a public
pandg - 2 arguments (
pandg) to start with a givenpandg