Hi,

Is there a way to read in a large file in small blocks (while ensuring
that padding doesn't occur), encrypt the blocks separately, then write
the small encrypted blocks into a single large file and still be able
to decrypt the file as a whole, without splitting into small blocks
again ?

I am able to do it if the blocks are 4096 bytes or smaller, but if
they are bigger (e.g 8192 bytes), the encrypted blocks are not 8192
bytes, but rather 8194 or 8197 bytes or even larger. This means I'm
unable to decrypt the large file as a whole.

I have to read from file so plaintext is a char* converted to string.
Also, I am using stringsource and stringsink, hence ciphertext is a
string.

Thanks
--~--~---------~--~----~------------~-------~--~----~
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