Hi dear Geoff! I greatly thank you,My main problem is resolved with your good helps;
But now,I'd like to know this only for increasing my knowledge about it: > You saw what you should see. You only put sizeof(pubkey) into the hex > encoder, so it only encoded sizeof(pubkey) bytes. pubkey is a byte *, > so sizeof(pubkey) is 4 bytes on most 32-bit platforms. How can I put all elements of "pubkey" or "privkey"(of type byte*) into hex encoder to show in output? With which code? > Why are you copying bytes using a for loop instead of memcpy? That > should work, but it's a very silly thing to do. Yes,That's right. I only did so for trying it. Best Regards. Gary --~--~---------~--~----~------------~-------~--~----~ 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. -~----------~----~----~----~------~----~------~--~---
