Felix Geisendörfer 9d4c5a12f4 Crypto update should only accept strings / buffers
I have seen a lot of people trying to pass objects to crypto's update
functions, assuming that it would somehow serialize the object before
hashing.

In reality, the object was converted to '[object Object]' which was
then hashed, without any error message showing.

This patch modifies the DecodeBytes function (used exclusively by
crypto at this point) to complain when receiving anything but a
string or buffer.

Overall this should be a less-suprising, more robust behavior.
2011-03-14 13:16:31 -07:00
2011-03-10 13:34:50 -08:00
2011-03-14 12:05:25 -07:00
2010-12-20 23:51:07 +01:00
2011-02-19 18:45:34 -08:00
2011-03-02 22:10:26 -08:00
2011-02-18 10:45:25 -08:00
2010-11-22 13:32:49 -08:00
2010-11-01 16:51:20 -07:00
2010-11-23 23:33:20 -06:00
2010-12-01 17:01:25 -08:00
2011-02-10 02:40:11 -08:00
2011-01-27 16:24:02 -08:00
2011-01-05 11:59:04 -08:00
2011-02-04 14:49:50 -08:00

Evented I/O for V8 javascript.

To build:

./configure
make
make install

To run the tests:

make test

To build the documentation:

make doc

To read the documentation:

man doc/node.1

Resources for Newcomers

Languages
JavaScript 65.4%
C++ 22.6%
Python 8.4%
C 2.1%
HTML 0.5%
Other 0.8%