> Having some comments on the DH constructors would help a lot, > especially since the parameters aren't very meaningful (v1, v2, v3...) That's one of the benefits of Wiki :)
On 5/29/09, SpaceCowboy850 <[email protected]> wrote: > > Okay...I finally found the answer. > > It WAS in the wiki, though not very well highlighted. The example I > got working I was using the example code from the samples to kick off > my first DH algorithm (which inits the algorithm via a file), then I > was extracting the prime/generator and passing those values to the > other end of the algorithm. This ended up bypassing the first few > lines in the wiki example which did the prime/generator generation I > was missing. > > AutoSeededRandomPool arngA; > RandomNumberGenerator& rngA = *dynamic_cast<RandomNumberGenerator *> > (&arngA); > DH dhA(rngA, 128); > > Having some comments on the DH constructors would help a lot, > especially since the parameters aren't very meaningful (v1, v2, v3...) > > [SNIP] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the "Crypto++ Users" Google Group. To unsubscribe, send an email to [email protected]. More information about Crypto++ and this group is available at http://www.cryptopp.com. -~----------~----~----~----~------~----~------~--~---
