That should definitely not happen. The fact it is an XLS file should
also make no difference at all. Perhaps there is a bug with either
reading or writing the file modulo?
For example , I
decrypt the file of a.xls.aes with java AESCrypt , but the decrypted
file a.xls couldn't opened normally .
I modify the code in the AESCrypt.java
<old code>
if (block == 1) {
len = in.read(); // 4 bits size mod 16.
debug("4 bits size mod 16: " + len);
}
out.write(text, 0, len);
<new code>
if (block == 1) {
if (!toFile.toLowerCase().endsWith(".xls")) {
len = in.read();
debug("4 bits size mod 16: " + len);
}
}
out.write(text, 0, len);
now ,I can open it normally.
2009-10-28
赵鲁
发件人: Paul E.
Jones
发送时间: 2009-10-27
16:15:37
收件人: aescrypt; 赵鲁
抄送:
主题: [Fwd: java
aes crypt could not support the excel]
赵鲁,
I am forwarding your message to the AES Crypt mailing list to see if
others might be able to help you. However, it's not entirely clear
what the issue is, so can you clarify it further?
Thanks,
Paul
-------- Original Message --------
|
|
|
Hi£º
java aes crypt could not support the excel , please
give me a help ,thanks very much.
zhaolu
2009-10-27
|
|
|
|
|