Hi Ashwin, > I have looked at some of the existing sample code... For completeness, I'd like to point out http://www.cryptopp.com/fom-serve/cache/1.html and http://www.cryptopp.com/wiki/External_Samples. Also of interest may be some RSA samples located at http://www.cryptopp.com/wiki/RSA.
> Is there a way to substitute the string with a private key (or convert > the private key into a string)? If you'd like to convert the key to a human readable string, you migh consider using the HexEncoder/Decoder. On 5/26/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi, > > I need to encrypt an RSA private key using a password. > Also I need to convert the encrypted key into char* so that I can use > it in my exisitng certificate architecture code. > > I am newbie in this area and am very confused looking at the API for > crypto++. > I am not sure what algorithm/API I need to use to encrypt the private > key > > I have looked at some of the existing sample code and most of the > examples take a string input for symmetric encryption. > Is there a way to substitute the string with a private key(or convert > the private key into a string)? > > Is there any sample code for this? > > Any help would be really appreciated. > > Thanks, > Ashwin. --~--~---------~--~----~------------~-------~--~----~ 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. -~----------~----~----~----~------~----~------~--~---
