<COMMENTS> There's lots of sample code out there. Have you looked at any of it? Seehttp://www.cryptopp.com/fom-serve/cache/1.htmlandhttp://www.cryptopp.com/wiki/. <END COMMENTS>
That doesn't solve my problem. Can you please point to a specific example where we encrypt a file with a random IV and then get the same IV while decrypting it. <COMMENTS> This is interesting to me. What is your motivation for creating this on the Heap, rather than the Stack? <END COMMENTS> delete new FileSource (inputFileName, true, encryptor); There is nothing special about this code. I only used this style as sometimes the encryption was throwing exception. It occurred only rare. To fix the problem I created on FileSource on the heap and deleted immediately. --~--~---------~--~----~------------~-------~--~----~ 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. -~----------~----~----~----~------~----~------~--~---
