On May 22, 2:20 am, "Viserys Targaryen, The Rightful King of Westeros"
<[email protected]> wrote:
> Greetings,
>
> The AES Example at the bottom 
> ofhttp://www.cryptopp.com/fom-serve/cache/79.htmluses an std::string as the
> sink for the AES encryption/decryption process. However, std::string
> doesn't use a secure allocator (and apparently due to optimization won't
> ever be secured even with one).
>
> That is,
>
>   std::string output;
>
>   CryptoPP::StringSource( temp, true,
>        new CryptoPP::StreamTransformationFilter( encryptor,
>            new CryptoPP::StringSink( output )
>        ) // StreamTransformationFilter
>    ); // StringSource
>
> Is it possible to use something like a SecByteBlock for output instead? If
> so, what Sink class is to be used for that?
"SecByteBlockSink patch,"
http://groups.google.com/group/cryptopp-users/browse_thread/thread/9bbf72e6f87a4ad8/5c0ee824ebb03f21

-- 
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.

Reply via email to