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

Function encText

functions/encryption.js:55–57  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

53
54module.exports = {
55 encText(text) {
56 return new Cryptr(secret).encrypt(text);
57 },
58
59 decText(hash) {
60 return new Cryptr(secret).decrypt(hash);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected