diffie-hellman/README.md
2026-04-23 00:20:50 -04:00

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 p and g
  • 2 arguments (p and g) to start with a given p and g