This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 38075
    
  22
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
Problem Urgent: Crypto using jsp - javabean
Encryption in JSP
Encryption: Runtime Exception when run as JavaBean
InvalidKeyException
Encryption-decryption loosing bytes in operation