Thanks for the tip; I've solved the problem.
I managed to resolve this issue by:
1. Adding line breaks
2. Reducing the size of the public key being generated.
This then presented me with the following error: “I DONT KNOW HOW TO
HANDLE DER stuff of TYPE 24″.
A quick google produced:
"# Gonzalo Says:
January 10th, 2008 at 8:02 am
I think I solved it, but please check it.
In the readRSAPublicKey function (PEM.as file) you have:
arr[1].position = 1; // there’s a 0×00 byte up front. find out why
later. like, read a spec.
But I realized that that was not true in my case, so I change that
line with this one (taken from the bit string reading):
if (arr[1][arr[1].position]==0) { arr[1].position++; }
and now everything works :) Hope that helps to others."
If anyone else encounters the same problem I've uploaded the re-
compiled swc to
http://t6d.com/files/as3crypto.swc.
Thanks for the help Joey.
On Aug 25, 5:43 am, Joey Parrish <
joey.parr...@gmail.com> wrote: