From: <pra...@ac...> - 2006-12-08 05:18:19
|
Hi, I am using the StreamEncrypt example provided for encrypting a 3 Gigabyte file. The process is failing consistently after encrypting 1 GB of the file. Here is the stacktrace. ERROR: : java.lang.ArrayIndexOutOfBoundsException: -7 at cryptix.jce.provider.cipher.ModeCFB.crank(ModeCFB.java:138) at cryptix.jce.provider.cipher.ModeCFB.shiftInByte(ModeCFB.java:126) at cryptix.jce.provider.cipher.ModeCFB.coreUpdate(ModeCFB.java:190) at cryptix.jce.provider.cipher.Mode.update(Mode.java:141) at cryptix.jce.provider.cipher.Padding.update(Padding.java:188) at cryptix.jce.provider.cipher.BlockCipher.engineUpdate(BlockCipher.java:30 6) at cryptix.jce.provider.cipher.BlockCipher.engineUpdate(BlockCipher.java:32 1) at javax.crypto.Cipher.update(DashoA12275) at cryptix.openpgp.provider.PGPEncryptedMessageOutputStream.engineWrite(PGP EncryptedMessageOutputStream.java:372) at cryptix.message.stream.MessageOutputStream.write(MessageOutputStream.jav a:127) at cryptix.openpgp.provider.PGPLiteralMessageOutputStream.engineWrite(PGPLi teralMessageOutputStream.java:168) at cryptix.message.stream.MessageOutputStream.write(MessageOutputStream.jav a:141) =09 Does anyone if cryptix implementation has a limitation that it cannot encrypt a file greater then 1 GB.=20 Any help is appreciated Thanks Pramod This message is for the designated recipient only and may contain = privileged, proprietary, or otherwise private information. If you have = received it in error, please notify the sender immediately and delete = the original. Any other use of the email by you is prohibited. |