MCPcopy
hub / github.com/SPlayer-Dev/SPlayer / encryptQuery

Function encryptQuery

electron/server/unblock/kwDES.js:573–573  ·  view source on GitHub ↗
(query)

Source from the content-addressed store, hash-verified

571export const encrypt = (msg) => crypt(msg, SECRET_KEY, 0);
572export const decrypt = (msg) => crypt(msg, SECRET_KEY, 1);
573export const encryptQuery = (query) => encrypt(Buffer.from(query)).toString("base64");

Callers 1

getKuwoSongUrlFunction · 0.90

Calls 2

encryptFunction · 0.85
toStringMethod · 0.80

Tested by

no test coverage detected