File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Security and the fly likes Encryption-decryption file problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Security
Bookmark "Encryption-decryption file problem" Watch "Encryption-decryption file problem" New topic
Author

Encryption-decryption file problem

mandlar suurla
Ranch Hand

Joined: Jun 11, 2008
Posts: 67

Mostly this class is put to together from internet examples, k this class should do some doc, xls, and some picture encryption and then decryption, but problem is like when i decrypt file, in that process decryption misses bytes so file is smaller then original.

:roll:
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 36486
    
  16
Why are you using sun. classes? They are not officially supported and might be altered or even withdrawn in future.

I don't think this is a "beginner's" topic, and I think it would sit better in the security forum, so I shall move it.
mandlar suurla
Ranch Hand

Joined: Jun 11, 2008
Posts: 67

Don't look the encrypt and decrypt with String parameters i dont use them. Main thing is the file encrypt and decrypt
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Encryption-decryption file problem
 
Similar Threads
Encryption: Runtime Exception when run as JavaBean
Problem Urgent: Crypto using jsp - javabean
InvalidKeyException
Encryption in JSP
Encryption-decryption loosing bytes in operation