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

Function gekk

ithome/ithome.js:116–140  ·  view source on GitHub ↗
(S)

Source from the content-addressed store, hash-verified

114}
115
116function gekk(S) {
117 const Skey =
118 "hd7%b4f8p9)*fd4h5l6|)123/*-+!#$@%^*()_+?>?njidfds[]rfbcvnb3rz/ird|opqqyh487874515/%90hggigadfihklhkopjj`b3hsdfdsf84215456fi15451%q(#@Fzd795hn^Ccl$vK^L%#w$^yr%ETvX#0TaPSRm5)OeG)^fQnn6^%^UTtJI#3EZ@p6^Rf$^!O$(jnkOiBjn3#inhOQQ!aTX8R)9O%#o3zCVxo3tLyVorwYwA^$%^b9Yy$opSEAOOlFBsS^5d^HoF%tJ$dx%3)^q^c^$al%b4I)QHq^#^AlcK^KZFYf81#bL$n@$%j^H(%m^";
119 const timeStemp = new Date(now).getTime();
120 const today = new Date(now).getDate();
121 const Value1 = Math.round(timeStemp / 50000) * today * 3;
122 if (S === 3) {
123 return (
124 Skey[parseInt((Value1 % 10000) / 1000) * today] +
125 Skey[parseInt((Value1 % 1000) / 100) * today] +
126 Skey[parseInt((Value1 % 100) / 10) * today]
127 );
128 } else if (S === 8) {
129 return (
130 Skey[parseInt((Value1 % 100000000) / 10000000) * today] +
131 Skey[parseInt((Value1 % 10000000) / 1000000) * today] +
132 Skey[parseInt((Value1 % 1000000) / 100000) * today] +
133 Skey[parseInt((Value1 % 100000) / 10000) * today] +
134 Skey[parseInt((Value1 % 10000) / 1000) * today] +
135 Skey[parseInt((Value1 % 1000) / 100) * today] +
136 Skey[parseInt((Value1 % 100) / 10) * today] +
137 Skey[parseInt(Value1 % 10) * today]
138 );
139 }
140}
141
142function gnekk() {
143 const base = CryptoJS.TripleDES.encrypt(

Callers 2

gnekkFunction · 0.85
geKskFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected