This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Security and the fly likes PBE decryption does not work Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "PBE decryption does not work " Watch "PBE decryption does not work " New topic
Author

PBE decryption does not work

Rob Lee
Greenhorn

Joined: Jun 03, 2012
Posts: 12
Hello all,

The encryption in the code below works fine but i get error for decryption. any clues?


the output is (Exception in thread "main" javax.crypto.IllegalBlockSizeException: Input length must be multiple of 16 when decrypting with padded cipher)
I do prefer salt to victors , so any sample code to tweak the program to use salt only will be much welcomed.

Thank you
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: PBE decryption does not work
 
Similar Threads
Store HTTPS file upload on server encrypted?
Encrypted values all contain same final characters
SSHTools, SFTP, Bouncy Castle, JCE, AES128 CBC and other acronyms. Help me put them together.
AES Encryption Service
javax.crypto with sun AND ibm...