Skip to content

Node.js 5/6 crypto.createHash BUG #6813

@yi-ge

Description

@yi-ge

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    cryptoIssues and PRs related to the crypto subsystem.invalidIssues and PRs that are invalid.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions