Thanks a lot Jeff:

That works well on my project.

Lei

在 2015年2月2日星期一 UTC上午6:10:50,Jeffrey Walton写道:
>
> > Can anyone help me with that? Can I encode the ciphertext in HexEncoder 
> and then decoded it using HexDecoder in another C++ file?
>
> Yes, you can encode it with a HexEncoder (or any other encoder). See, for 
> example, http://www.cryptopp.com/wiki/HexEncoder, 
> http://www.cryptopp.com/wiki/Base32Encoder, or 
> http://www.cryptopp.com/wiki/Base64Encoder.
>
> You can also write it out as a binary file, but you have to be careful 
> because C++'s insertion operator (<<) can play games with NULL bytes and 
> line endings. If you use a C++ stream, be sure to use the write() and 
> read() functions, and not the insertion and extraction operators. Or, use a 
> FileSink and FileSource. See http://www.cryptopp.com/wiki/FileSink and 
> http://www.cryptopp.com/wiki/FileSource.
>
> Jeff
>
> On Wednesday, January 21, 2015 at 11:15:14 AM UTC-5, 雷骜 wrote:
>>
>> Hi everyone:
>>
>> I'm a newbie in Crypto++, I'm trying to sign a message and verify it in a 
>> different c++ file (using OMNeT++).
>>
>> The signing and verifying are work well in the same c++ file but the 
>> ciphertext disappeared when I send the ciphertext to another c++ file (or 
>> another OMNeT module).
>>
>> Can anyone help me with that? Can I encode the ciphertext in HexEncoder 
>> and then decoded it using HexDecoder in another C++ file?
>>
>> Many Thanks,
>>
>> Ao Lei
>>
>

-- 
-- 
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.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to