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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
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: 18570
    
    8

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 .
 
Don't get me started about those stupid light bulbs.
 
subject: Encryption-decryption loosing bytes in operation