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
Merged upstream updates
Merge pull request #53 from andris9/master

hash.digest() makes auth fail in node v0.10