On Saturday, June 25, 2016 at 3:14:29 AM UTC-4, dgl...@gmail.com wrote: > > AES::Encryption aesEncryption((byte *)key, AES::MAX_KEYLENGTH); > > CFB_Mode_ExternalCipher::Encryption cfbEncryption(aesEncryption, iv); > > StreamTransformationFilter cfbEncryptor(cfbEncryption, new HexEncoder(new > StringSink(outstr))); > cfbEncryptor.Put((byte *)plainText, strlen(plainText)); > cfbEncryptor.MessageEnd(); > > No, you don't delete it. The StreamTransformationFilter owns it, and the filter will delete it.
Also see http://www.cryptopp.com/wiki/Pipelining and the section on Ownership. The following might also interest you: http://cryptopp.com/wiki/Init-update-final. Jeff -- -- You received this message because you are subscribed to the "Crypto++ Users" Google Group. To unsubscribe, send an email to cryptopp-users-unsubscr...@googlegroups.com. 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 cryptopp-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.