This repository was archived by the owner on Apr 22, 2023. It is now read-only.

Description
Currently when initializing diffie-hellman key exchange objects, a generator of 2 is always used. It would be great to be able to supply a custom generator value (that defaults to 2 for backwards compatibility).
My immediate use case that I have in mind for this is implementing the diffie-hellman group exchange for ssh2.