Whenever I try to decrypt files that have an
uncompressed size of more than 8K, I get one of several
error messages. Here are a few:
1. With a 9K file I get "There was an error decrypting
your message: Error uncompressing the message:
Deflated stream ends early."
2. With a 322K file I get "There was an error decrypting
your message: Arithmetic operation resulted in an
overflow."
Any suggestions?
submitted by: david_omer@hotmail.com
Logged In: NO
I found a similar error while decripting a small text message.
Try to change SimetricAlgorithm.cs line 207
from
if (((inputCount %
BlockSizeByte) != 0) && ((algo.Mode == CipherMode.CFB) ||
(algo.Mode == CipherMode.OpenPGP_CFB))) {
to
if ((((inputCount % BlockSizeByte) != 0) && (algo.Mode ==
CipherMode.CFB)) || (algo.Mode ==
CipherMode.OpenPGP_CFB)) {