Commit a40b54f9 authored by rockyl's avatar rockyl

增加混淆打包

parent 8a856689
"use strict";function makeRandom(e){return function(r){return Math.ceil((e=(9301*e+49297)%233280)/233280*r)}}function makeInt(r){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0;return Math.floor(Math.random()*(r-e))+e}Object.defineProperty(exports,"__esModule",{value:!0});var allChars="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789=",total=allChars.length;function randomChar(){return allChars.charAt(makeInt(total))}function encode(r){for(var e=makeInt(143),t=makeRandom(e),a=String.fromCharCode(e),n=0,o=r.length;;){var d=t(5);if(a+=r.substr(n,d),o<=(n+=d))break;a+=randomChar()}return a}function decode(r){for(var e=makeRandom(r.charCodeAt(0)),t=r.substr(1),a="",n=t.length,o=0;;){var d=e(5);if(a+=t.substr(o,d),n<=(o+=d+1))break}return a}exports.decode=decode,exports.encode=encode;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment