You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@wy373226722 Why are you converting the input to a “binary” string anyway? MD5 and other hashes convert any input you pass to them to Buffers back anyway.
Windows and Mac,Node.js v5/v6:
var a = '010203334455667788AF02';
console.log(md5(Buffer(a,'hex').toString('binary'),'hex'));
echo : 9f4eeb2dc8cfc04768149dfb1036009c
Windows and Mac,Node.js v4/0.10.29:
var a = '010203334455667788AF02';
console.log(md5(Buffer(a,'hex').toString('binary'),'hex'));
echo : f4cb7e6847b063001b72646517a9f4c3
The text was updated successfully, but these errors were encountered: