MCPcopy Create free account
hub / github.com/cxapython/catvm / B

Function B

geetest/test.js:1825–1844  ·  view source on GitHub ↗
(e, t, r)

Source from the content-addressed store, hash-verified

1823};
1824
1825function B(e, t, r) {
1826 if (!t || !r) {
1827 return e;
1828 }
1829 var n = 0;
1830 var i = 2;
1831 var o;
1832 var a = e;
1833 var s = t[0]
1834 , u = t[2]
1835 , _ = t[4];
1836 while (o = r["substr"](n, i)) {
1837 n += i;
1838 var c = parseInt(o, 16);
1839 var f = String["fromCharCode"](c);
1840 var l = (s * c * c + u * c + _) % e["length"];
1841 a = a["substr"](0, l) + f + a["substr"](l);
1842 }
1843 return a;
1844}
1845
1846t2 = (new Date()).getTime();
1847

Callers 1

get_wFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected