Hi. I have little problem. What I do to encrypt the file:
- Generate AES Key and AES Iv - Join AES Key and Iv into one string variable aesKeyAndIv - Encrypt aesKeyAndIv variable with RSA Public key - Load file for encryption - Encrypt file with AES Key and AES Iv - Join encrypted file content with aesKeyAndIv Decryption: - Split encrypted file content and aesKeyAndIv - Decrypt aesKeyAndIv using private RSA key - split aesKeyAndIv - Use AES Key and AES Iv to decrypt encrypted file content Before I used the ";" splitter when each encrypted data (file content and aesKeyAndIv) was encoded using Base64, but after encryption the final encrypted file is bigger than original. So I decided to Gzip file content when loading for encryption and don't use the Base64 when encrypting data (file content and aesKeyAndIv). How could I achieve that, if the files are now binary? BTW. I need to use FileSource, because it handle big files for me. -- -- 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.
