On Wed, Jun 20, 2007 at 02:49:14PM -0700, indeed356 wrote:
> 
> 
> I have a public key in the following format...
> 
> #008AF342....#
> #05#
> #23FA2345.....#
> 
> This key is stored as a string in a header file and used to processed
> using libgcrypt. Due to some platform changes libgcrypt cannot be used
> anymore, how can I use this key to encryt the session key with crypto+
> +?

Regular DL keys are used for ElGamal encryption, so (I guess)
3 numbers shown are modulus p, generator g, and  (g^x \pmod{p})
for some private key x.
It would be great to confirm this first.
If so, make Integers of crypto++,
initialize DL group parameters and set the exponent

> 

--~--~---------~--~----~------------~-------~--~----~
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.
-~----------~----~----~----~------~----~------~--~---

Reply via email to