Do you mean you want to do what GenerateRSAKey() does in test.cpp? I
think that maybe a starting point for you - just play around with
Hex(En|De)coder and StringSource/Sink...

There are quite a few useful examples in test.cpp and validat 1, 2 and 3
dot cpp!

Regards

Jim

On Tue, 2005-03-29 at 07:22 -0500, Jim Starkey wrote:
> 
> Behrens, Meike wrote:
> 
> >Good morning.
> >
> >Is there a way to generate the private key in a function, convert it to
> >string give it back, in another function get the private-key-string and
> >get the public key from that string-private key? 
> >If it is, can someone please give me a clue?
> >
> >  
> >
> If I understand you correctly, no.  It is an essential feature of public 
> key encryption that neither key can be computed from the other.
> 
-- 
James Vanns BSc (Hons) MCP
Linux Systems Administrator
Software Engineer (Linux / C & C++)
Canterbury Christ Church University College
Public Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x24045370


Reply via email to