Re: RC2 via Bouncy Castle -> last block incomplete in decryption

2006-10-10 Thread Sung Woo
I ran into a problem after all. I'm trying to interface with AspEncrypt, a third-party app that gives ASP encryption capabilities. Has anyone had any success exchanging encrypted data with AspEncrypt? I'm running into strange issues. To summarize: I'm using a simple hash command to generate

Re: RC2 via Bouncy Castle -> last block incomplete in decryption

2006-10-10 Thread Sung Woo
Never mind -- it actually works just fine. It turns out that the encrypted string was the problem: tNMtwvuAtRO+Hvs1ciH7bw== outputs testing123 via RC2/Base64. > I've followed the TechNote (http://www.adobe. > com/cfusion/knowledgebase/index.cfm?id=e546373d) to the letter, trying > to get RC2 e

RC2 via Bouncy Castle -> last block incomplete in decryption

2006-10-10 Thread Sung Woo
I've followed the TechNote (http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=e546373d) to the letter, trying to get RC2 encryption/decryption to work. I keep getting "last block incomplete in decryption" error no matter which keys I use. It works fine for RC4. What am I doing wrong?