Hi,

Has anyone successfuly implement AES or DES encrypted buffer data
communication betwen nodejs server and ActionScript client?
Please.....Please... shed some light on me.

We got stuck in NodeJS <-> ActionScript client, AES/DES encryped data
communication.

In our project, we are using ActionScript to build the client, and use
AS3Crypto library to encrypt buffer data and then send buffer to NodeJS
server. On the server side, we then use Crypto module to decrypt the data
buffer.

After tried weeks by weeks, we still can't find the right way to implement
this functionality.

And there is a list of questions puzzling us.

1. In NodeJS, decipher can be created by either a Password, or a
combination of Key and IV. But in AS3Crypto, there isn't such an password.
So we can only create decipher by Key and IV. But in AS3Crypto, IV changes
every time when call the ICipher.encrypt(). Is there anyway we can keep a
fixed IV, or use a fixed password, which is stored in both client and
server side.

2.  DecipherInitIv error when create DES decipher:
 cipher = crypto.createDecipheriv('des', 'BEA12F82889BE82A',
'5725A92737DD73DD')   // Error: DecipherInitIv error

3. Error: DecipherInitIv error when call Decipheriv.final() in
"aes-128-cbc" decipher.

Many thanks!

ty

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to