在node.js AP 0.6.2上,在Buffer模块下说明:
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.
然而,在密码模块中,双轨迹在许多地方使用,例如<代码>.digest(方法。 他们为什么不通过在那里使用缓冲区来遵守自己的公约?