aspose file tools
The moose likes Beginning Java and the fly likes Encryption-decryption loosing bytes in operation Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "Encryption-decryption loosing bytes in operation" Watch "Encryption-decryption loosing bytes in operation" New topic
Author

Encryption-decryption loosing bytes in operation

mandlar suurla
Ranch Hand

Joined: Jun 11, 2008
Posts: 67

Here is my encryption/decrypt code. But after decrypting file, it is some bytes bigger or smaller, i dont know how to get the exact bytes.


Simple use of it
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 16483
    
    2

You aren't closing your output stream after you finish writing to it.
mandlar suurla
Ranch Hand

Joined: Jun 11, 2008
Posts: 67

Yeha it worked like charm .
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Encryption-decryption loosing bytes in operation
 
Similar Threads
InvalidKeyException
Problem Urgent: Crypto using jsp - javabean
Encryption-decryption file problem
encrypt data in database
Encryption: Runtime Exception when run as JavaBean