joyent/node — pull request #2638 by thinred (2012-01-29 22:30:31+00:00)
Title: getDiffieHellman: returns a well known, predefined RFC groups

Okay, here come the tests and my approach to issue #2338. The only issue here is that they take ~ 4 seconds to complete (because the groups are huge).
I may provide the Python script used to create the header file and hashes for the tests, if you need it.