aspose file tools
The moose likes Other JSE/JEE APIs and the fly likes BadPaddingException 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 » Other JSE/JEE APIs
Reply Bookmark "BadPaddingException" Watch "BadPaddingException" New topic
Author

BadPaddingException

Arpit Panwar
Greenhorn

Joined: Jul 16, 2009
Posts: 12


SCJP 75%
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35253
    
    7
You don't tell us what's happening, or in which line of code it's happening, but usually this exception is caused by treating encrypted data (which is binary data) as character data (by storing it in a String object). The code seems to be doing exactly that.


Android appsImageJ pluginsJava web charts
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: BadPaddingException
 
Similar Threads
encoding in java and decoding in perl
padding problem with AES(help)
Encryption / Decryption Problem
javax.crypto.BadPaddingException
Encryption/Decryption using Blowfish algorithm