Hi Soren,

I have a sample program which dumps the Public and Private key pair of
an ECC system named DPVal. Since Wei has incorporated OO design
techniques, it should be adapted rather easily (ECC, RSA, etc - it does
not matter).

Google for "dpval jeffrey walton" It's the first hit. (I can't attach
to a news group posting).

Jeff

dreijer wrote:
A few questions regarding the DH implementation in Crypto++:

- What is the best approach to let two users agree on a prime number p
and a base g? Say two hosts on the Internet are attempting to agree on
a secret key. Is it common practice that one of the hosts just
generates the two values randomly and lets the other host know, or are
more sophisticated mechanisms usually employed?

- What is the correct way to extract the prime number and base from the
DH class? The following post make use of the
AccessGroupParameters().GetValue("Modulus", ...) method in the DH
class:
http://groups.google.com/group/cryptopp-users/browse_thread/thread/ac43a200a58ff277/2d79994f12811a13?lnk=st&q=DH+diffie+cryptopp&rnum=6#2d79994f12811a13

Thanks,
Soren


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Crypto++ 
Users" group.
To post to this group, send email to [EMAIL PROTECTED]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cryptopp-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to