MCPcopy Create free account
hub / github.com/cnodejs/nodeclub / md5

Function md5

controllers/sign.js:352–357  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

350}
351
352function md5(str) {
353 var md5sum = crypto.createHash('md5');
354 md5sum.update(str);
355 str = md5sum.digest('hex');
356 return str;
357}
358
359function randomString(size) {
360 size = size || 6;

Callers 1

sign.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected