MCPcopy Create free account
hub / github.com/node-modules/utility / createHashWithMD5

Function createHashWithMD5

benchmark/md5.cjs:8–12  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

6const suite = new Benchmark.Suite();
7
8function createHashWithMD5(s) {
9 const sum = crypto.createHash('md5');
10 sum.update(s);
11 return sum.digest('hex');
12}
13
14console.log("utils.md5({foo: 'bar', bar: 'foo', v: [1, 2, 3]})", utils.md5({ foo: 'bar', bar: 'foo', v: [ 1, 2, 3 ] }));
15console.log("utils.md5(JSON.stringify({foo: 'bar', bar: 'foo', v: [1, 2, 3]}))",

Callers 1

md5.cjsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…