No description
Find a file
2026-04-23 01:30:46 -04:00
.direnv/bin it's a flake now 2026-04-22 22:58:25 -04:00
src don't use safe primes for private keys 2026-04-23 01:30:46 -04:00
.gitignore working 2026-04-22 22:44:22 -04:00
Cargo.lock don't use password input 2026-04-23 00:40:34 -04:00
Cargo.toml don't use password input 2026-04-23 00:40:34 -04:00
default.nix actually make the secret 2026-04-22 23:04:56 -04:00
flake.lock it's a flake now 2026-04-22 22:58:25 -04:00
flake.nix it's a flake now 2026-04-22 22:58:25 -04:00
README.md don't use safe primes for private keys 2026-04-23 01:30:46 -04:00

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