Problem with RSAKey

60 views
Skip to first unread message

Martin Page

unread,
Oct 6, 2009, 1:30:56 PM10/6/09
to as3c...@googlegroups.com
Hi,
         I'm trying to make RSAKey work, running the RSAKeyTest
and having a problem with the testLongText test.... I run it 100
times and it works most of the times, but sometimes it doesn't work ... and I
get this exception:

PKCS#1 unpad: i=0, expected b[i]==2, got b[i]=b
EXCEPTION THROWN: Error: Decrypt error - padding function returned
null!
Error: Decrypt error - padding function returned null!
        at As3Crypto.com.hurlant.crypto.rsa::RSAKey/_decrypt()

I'm working with the src code and the last version.

What can I do?

Thanks.

Reply all
Reply to author
Forward
0 new messages