MCPcopy Create free account
hub / github.com/smallfawn/QLScriptPublic / getSignSecret

Function getSignSecret

wxapp/hisense_aijia.js:86–89  ·  view source on GitHub ↗
(appKey = SIGN_APP_KEY)

Source from the content-addressed store, hash-verified

84}
85
86function getSignSecret(appKey = SIGN_APP_KEY) {
87 if (appKey !== SIGN_APP_KEY) throw new Error(`appSecret not found: ${appKey}`);
88 return SIGN_APP_SECRET;
89}
90
91function signString(data, postAndJSON = false, appKey = SIGN_APP_KEY) {
92 const secret = getSignSecret(appKey);

Callers 3

signStringFunction · 0.85
encryptByAppKeyFunction · 0.85
decryptByAppKeyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected