Here's the bug to track this issue: https://github.com/joyent/node/issues/1393
On Tue, May 8, 2012 at 8:22 PM, mscdex <[email protected]> wrote: > On May 8, 8:14 pm, Matt Patenaude <[email protected]> wrote: > > However, the problem I see with this is that the 'binary' encoding of > buffers is deprecated. Is there any way around this, and/or is there a > better way to generate an initialization vector? createCipher doesn't > accept a buffer, and .toString('ascii') sometimes works, but sometimes > gives me a string only 15 characters long, and I get an error. > > Yeah, this is something that should be changed, especially since > ASSERT_IS_STRING_OR_BUFFER is being used anyway albeit *after* initial > argument type checks. > > -- > 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 > -- 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
