• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

PBE decryption does not work

 
Rob Lee
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic