On Wed, Nov 28, 2012 at 6:32 PM, Yi Tan <yi2...@gmail.com> wrote:
> 2.  DecipherInitIv error when create DES decipher:
>  cipher = crypto.createDecipheriv('des', 'BEA12F82889BE82A',
> '5725A92737DD73DD')   // Error: DecipherInitIv error

I see you already figured it out but I'm curious why you're using DES.
 It's considered quite insecure.

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

Missing padding?  What happens when you set decipher.setAutoPadding(true)?

-- 
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 nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to