MCPcopy Create free account
hub / github.com/coderwhy/coderhub / md5password

Function md5password

src/utils/password-handle.js:3–7  ·  view source on GitHub ↗
(password)

Source from the content-addressed store, hash-verified

1const crypto = require('crypto');
2
3const md5password = (password) => {
4 const md5 = crypto.createHash('md5');
5 const result = md5.update(password).digest('hex');
6 return result;
7}
8
9module.exports = md5password;
10

Callers 2

verifyLoginFunction · 0.85
handlePasswordFunction · 0.85

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected