slothg / as3crypto

Automatically exported from code.google.com/p/as3crypto
0 stars 0 forks source link

RSA encryption causes BadPaddingException on Java decryption #17

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. encrypt in flash 
2. decrypt in java using cipher "RSA/ECB/PKCS1Padding"
3. sometimes, not always, I get following errors
BadPaddingException... Data must being with zero.

I will try and create test keys and data blocks for you as well.

Original issue reported on code.google.com by john.che...@gmail.com on 24 May 2009 at 1:53

Attachments:

GoogleCodeExporter commented 9 years ago
I believe this was related to the Base64 problem. See the latest commit.

Original comment by sh0rtw...@gmail.com on 4 Jun 2009 at 11:42