MCPcopy Create free account
hub / github.com/ClydeTime/Surge / getKey

Function getKey

Script/Task/amap.js:106–110  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

104 }
105}
106function getKey() {
107 for (var t = 'ABCDEFGHJKMNPQRSTWXYZabcdefhijkmnprstwxyz2345678', n = t.length, r = "", i = 0; i < 16; i++)
108 r += t.charAt(Math.floor(Math.random() * n));
109 return r
110}
111function getSign(channel) {
112 const sign = channel + '@oEEln6dQJK7lRfGxQjlyGthZ4loXcRHR'
113 return md5(sign).toUpperCase()

Callers 2

checkInFunction · 0.85
signInFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected