In the node.js API 0.6.2, it is stated under the Buffer module:
'binary' - A way of encoding raw binary data into strings by using only the first 8 bits of each character. This encoding method is deprecated and should be avoided in favor of Buffer objects where possible. This encoding will be removed in future versions of Node.
In the Crypto module however, the binary strings are used in many places, e.g. in the .digest()
methods. Why do they not comply with their own conventions by using buffers there instead?