Closed andris9 closed 10 years ago
hash.digest([encoding]) uses Buffer as the output when encoding is not defined in node v0.10, while in node v0.8 used binary strings. This commit sets the default digest encoding to binary, so authentication can be used with node v0.10
:+1:
Thanks for this change.
hash.digest([encoding]) uses Buffer as the output when encoding is not defined in node v0.10, while in node v0.8 used binary strings. This commit sets the default digest encoding to binary, so authentication can be used with node v0.10