aspose file tools*
The moose likes JDBC and the fly likes Trouble decrypting from an Access DB w/ weird exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Trouble decrypting from an Access DB w/ weird exception" Watch "Trouble decrypting from an Access DB w/ weird exception" New topic
Author

Trouble decrypting from an Access DB w/ weird exception

Charles Diskin
Greenhorn

Joined: Mar 03, 2006
Posts: 19


Trying to take out an encrypted password from an Access Database and decrypt it, when the value is put in it is fine, but when it is pulled out of the DB and decrypted it kicks to an exception:

javax.crypto.IllegalBlockSizeException: Input length must be multiple of 8 when decrypting with padded cipher

I understand this seems like a security question but we've narrowed it down to something odd going on while it's stored inside the access DB. Any help/comments would be great.

Thanks in advance!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Trouble decrypting from an Access DB w/ weird exception