diffie-hellman/README.md

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