247 B
247 B
toy Diffie-Hellman key exchange
Uses 256-bit 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