I'm getting an error trying to decrypt a string with RSACrypt.cfc. The error is:
javax.crypto.BadPaddingException: blocktype mismatch Has anyone else come across this and found a solution? My google-fu is failing me.it looks like perhaps one of the strings (either the private key or the encrypted string) needs to be padded to reach a certain length, but I'm not sure how to determine which string needs to be padded, how much padding is required, and how that needs to be done. Please note: RSACrypt is decrypting just fine for other private key/encrypted string pairs. It is only *some* that are failing, so it's likely not a coding error in the CFC or in the java crypto lib. Thanks bunches for any help you can provide. Jen Perkins McVicker Adobe Certified ColdFusion Developer <mailto:[email protected]> [email protected] Phone/Fax: 925.757.1839 Mobile: 925.759-3321 <http://www.linkedin.com/in/jmcvicker> http://www.linkedin.com/in/jmcvicker ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350548 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

