Rowan, thanks for pinging your developers. Hoping their response is a
boon here!
I did find the Base64 encoder in as3crypto lib were not working the
same as the Base64Encoder/Decoder classes built into Flex 3 and didn't
agree with Java's. So, I'm using the built in ones now. These agree
with Java codes. It might have been line breaks, not sure, saw a 4
char difference in length. In testing and puttzing around, seems the
issue lies in the actual encrypting code or in byte code diffs not
sure which. java bytes go -127 - 128 and Flash goes 0 - 255
DK
On Dec 2, 2:55 pm, "Rowan Hick" <
rowan.h...@gmail.com> wrote:
> Hi
>
> We had an issue with new lines in the base 64 encoding - we were
> trying Ruby (via OpenSSL) to encrypt, passing a Base64 encoded string
> over to AS3 Crypto to decrypt. From what I recall - it appears that
> the Base64 decoding within AS3Crypto wasn't handling new lines
> correctly, so the string before it got passed to get decrypted, was
> garbled by the Base64 decoding.
>
> I'll connect with my developer who was working on it and post back a
> response as to what he did to fix it. Let me know in a day or so you
> haven't heard back from me.
>
> In the end we ditched using AS3Crypto as it was too slow compared to a
> Java implementation. Held lots of promise, but for the volume of data
> we're dealing with impractical.
>
> Kind Regards,
>
> Rowan
>
> On Tue, Dec 2, 2008 at 1:30 PM, Douglas Knudsen
>