On Wednesday, February 20, 2013 8:51:05 PM UTC-5, cppi812 wrote:
>
> Please try explicitly opening this in binary mode in your encryption 
> function?
>
> //your code
> infile.open("test2.txt");
>
> //try this
> infile.open("test2.txt", ios::in | ios::binary);
>
I think you'll also need noskipws flag if its is a binary file.

I did not check the code, though (just commenting on iso::binary).

Jeff

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

Reply via email to