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