• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

BadPaddingException using DES

 
Aravind Ramanujam
Greenhorn
Posts: 16
  • 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
Posts: 42968
73
  • 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