File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

BadPaddingException using DES

 
Aravind Ramanujam
Greenhorn
Posts: 16
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm getting javax.crypto.BadPaddingException: Given final block not properly padded while trying to decrypt using DES. Here is the code snippet:



Please let me know if i'm doing anything wrong here. Any help is appreciated
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A quick search through the forum would have uncovered this thread. Let us know of if that's the problem.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic