Hi,
I have some decryption code in python that I need ported to node.  I cannot 
seem to get the decryption right and I am going crazy.

My python code is:

 

from Crypto.Cipher import AES
mode = AES.MODE_ECB
secret = "9kL8yb/3Tu2czOr5qfiGPgJmx25s+T15"
cipher = AES.new(secret, mode)
DecodeAES = lambda c, e: c.decrypt(e.decode("hex"))
pre_add = DecodeAES(cipher, incoming)

I need to somehow get the exact same thing working from node.js

Please help I am getting desperate.

Many thanks
Jonny

-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to