12 lines
247 B
Markdown
12 lines
247 B
Markdown
# 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`
|
|
|