Check out StringSource, StringSink, HexEncoder and friends. There are
examples in the sources that'll give a hint. If you still have
problems figuring it out post again.

Jim

On 28/05/06, vijaykumar poosa <[EMAIL PROTECTED]> wrote:
Hi,

I am implementing a protocol for wireless devices in which i need to
generate the private and public keys and hash the public key which is used
as an address of the device... and the messages to be sent are to be signed
by the private key.

To achieve this, i need to store the keys in a string. I am unable to get it
right.
I wud be very grateful for any suggestions in the right direction.

I can store these to a file, but i need them as a string. Do I have to write
it to a file and read it. This would be very diffcult as i have to simulate
hundred nodes.

where and how is the key stored when i say :
RSAInvertibleFunction privkey(rng,1024);

Thanks in advance,

---vijay

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com




Reply via email to