File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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
 
Similar Threads
URGENT:NEED HELP IN JCE
URGENT.HELP FROM CRYPTOGRAPHY EXPERTS IN JCE
Problem with encrypt and decrypt
Encryption/Decryption using java or oracle
PBEWithMD5AndDES Algorithm Exception