as3crypto

AS3Crypto RSA Signing

Hi All, I'm having some troubles matching the value returned from RSA signing a Base64 SHA1 hash in the actionscript as3crypto library with the result returned in c#. I'm passing in a Base64 hash decoded as a byte array to the sign() function provided in as3crypto and base64 encoding the result. However, this result never matches the r...

Padding error in as3Crypto when trying to work a-sync

I'm trying to encrypt/decrypt files in flex (AIR) using the as3crypto package. the problem is that when attempting to process slightly large files (over 5M) the process time gets ridiculously long and the client freezes (get the "not responding" title) so i tried to go Async and encrypt/decrypt a chunk at a time and interlace it with the...

Flex/AIR Encryption/Decryption library (alternative to as3crypto)

Hey stackoverflow community, I was wondering if anyone knew of any built-in Flex libraries that support encryption/decryption. I see that most people recommend AS3Crypto, are there other alternatives? In particular, looking for one that supports DES encryption. Thanks! ...

How do i plot a vertical axis with variable intervals (Flex Charts or any other)

How do i plot a vertical axis with variable intervals? on a Flex Chart. I want to plot a data set that has values from 0.1 to 800. When I use a standard Numerical Axis, I have to define a interval. I tried using Log-Axis, but I am not sure how to plot the point values. Looks like something in lines of semi-log axis would be better. A ...

Adobe Air encryption of mp3 file with as3crypto only encrypts the first few bytes

I am using the as3crypto library to encrypt mp3 files in an Adobe Air application. The code below runs without error but I realized that only the first few bytes of the mp3 file are getting encrypted but not the whole file. I have no idea what’s the problem. Could someone please be so kind and have a look at my code below? import com.h...

Why does as3crypto say "Invalid padding value"?

What is the cause of the error "Invalid padding value" in as3crypto? Error: PKCS#5:unpad: Invalid padding value. expected [153], found [25] at com.hurlant.crypto.symmetric::PKCS5/unpad() at com.hurlant.crypto.symmetric::CTRMode/decrypt() at com.hurlant.crypto.symmetric::SimpleIVMode/decrypt() at com.mycompany.myproject::...