2
0

README.dhtest 716 B

123456789101112131415161718192021
  1. Test driver for Diffie-Hellman key agreement operations.
  2. This program generates Diffie-Hellman moduli and does a sample
  3. key agreement with them.
  4. The command line is a seed string which is used to generate the
  5. public modulus. The use of a seed lets you verify that the
  6. modulus was not generated in a weak manner.
  7. Currently, the list of key sizes to generate is compiled in.
  8. After key generation, the program performs a sample key agreement.
  9. The primes used in SKIP were generated with the seed in the file
  10. Gandhi, which contains 79 bytes plus a newline:
  11. Whatever you do will be insignificant, but it is very important that you do it.
  12. Example invocation lines:
  13. dhtest arbitrary seed string
  14. dhtest `cat Gandhi`