This week's book giveaway is in the Testing forum.
We're giving away four copies of Practical Unit Testing with TestNG and Mockito and have Tomek Kaczanowski on-line!
See this thread for details.
The moose likes Security and the fly likes BadPadding in the final block Exception Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » Security
Reply Bookmark "BadPadding in the final block Exception" Watch "BadPadding in the final block Exception" New topic
Author

BadPadding in the final block Exception

Sandeep Jakka
Greenhorn

Joined: Mar 26, 2004
Posts: 2
Hi all,
I am using the DES algoritm for encryption/decryption. When I try to decrypt, I am getting Badpadding in the final block exception.
I understand,this is b'coz of Less number of bytes in the last block of the cipher.
Can any body help me out here. I am not understanding how to go abt here?
Thanks in Advance!
Sandeep
 
 
subject: BadPadding in the final block Exception
 
Threads others viewed
need help abt 64 encoder/decoder
Try an Finally Working Confusion
Security
Finally block
Security
IntelliJ Java IDE

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture