i refer this convertion solution for here :http://www.codeproject.com/ cpp/ProductActivation.asp //-------------------------------------------------------------------------------------------------------------------------------------- // patest5 CryptoPP::StringSource( Received, true, new CryptoPP::Base64Decoder( new CryptoPP::StringSink( Base64Decoded ) ) // Base64Encoder ); // StringSource //-------------------------------------------------------------------------------------------------------------------------------------- something like that.
or do u have any suggestion ? many many thanks On Aug 7, 11:02 am, Parch <[EMAIL PROTECTED]> wrote: > The most suspicious part to me is the decoding. I have a question: why > are you doingBase64Decodefrom std::string to std::string? The > decoded value could have zero bytes in it, which might (I am not sure) > get treated as end_of_string markers when appending to a string. Or > perhaps the zeros could later cause c_str() to behave oddly. --~--~---------~--~----~------------~-------~--~----~ 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. -~----------~----~----~----~------~----~------~--~---
