This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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!
 
wood burning stoves
 
subject: Trouble decrypting from an Access DB w/ weird exception
 
Similar Threads
URGENT.HELP FROM CRYPTOGRAPHY EXPERTS IN JCE
Problem with encrypt and decrypt
Encryption/Decryption using java or oracle
URGENT:NEED HELP IN JCE
PBEWithMD5AndDES Algorithm Exception