(Answer) (Category) Crypto++ Faq-O-Matic :
The sample code shows how to work with a file, but my data is in a string (or vice versa).
Moderator: weidai (inherited from parent)
First, read this FAQ: (Xref) How do I use the Filter class?. That should tell you how Crypto++ handles I/O using Source and Sink classes. Once you understand that, just replace FileSource with StringSource, and FileSink with StringSink (or vice versa).
2001-Jan-14 7:37pm weidai
2006-Feb-13 9:17pm ksaup
[Append to This Answer]
2006-Feb-13 9:17pm
Previous: (Answer) How can I use an RSA key from Crypto++ in openssl?
Next: (Answer) Why is ElGamal key generation so slow?
This document is: http://www.cryptopp.com/cgi-bin/fom.cgi?file=49
[Search] [Appearance] [Show Expert Edit Commands]
This is a Faq-O-Matic 2.721.
This FAQ is administered by Wei Dai.