MCPcopy Create free account
hub / github.com/Cv-Keep/cvkeep-backend / encodePassword

Function encodePassword

functions/user.js:161–163  ·  view source on GitHub ↗
(pass)

Source from the content-addressed store, hash-verified

159 },
160
161 encodePassword(pass) {
162 return md5(`${pass}/${config.secret}`);
163 },
164
165 passwordsMatch(passA, passB, encode = false) {
166 if (encode) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected