MCPcopy Create free account
hub / github.com/chavyleung/scripts / gnekk

Function gnekk

ithome/ithome.js:142–153  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

140}
141
142function gnekk() {
143 const base = CryptoJS.TripleDES.encrypt(
144 CryptoJS.enc.Utf8.parse(gekk(3)),
145 CryptoJS.enc.Utf8.parse(gekk(8)),
146 {
147 mode: CryptoJS.mode.ECB, // 加密模式
148 padding: CryptoJS.pad.ZeroPadding,
149 }
150 ).toString();
151 const text = "k" + CryptoJS.enc.Base64.parse(base).toString(CryptoJS.enc.Hex);
152 return text;
153}
154
155function geKsk() {
156 const base = CryptoJS.TripleDES.encrypt(

Callers 1

getUrlFunction · 0.85

Calls 1

gekkFunction · 0.85

Tested by

no test coverage detected