forked from ahqsoftwares/tauri-ahq-store
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfunction_to_encrypt.cjs
18 lines (12 loc) · 12 KB
/
function_to_encrypt.cjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// @ts-check
const key =
"dgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3Ldgjfhsdgkj;aroki3q589340yug'vmf',r'po3q[itYIJESWJTGklhjr5940wu84ty90wgjkm,.bm;kwtu0345679fmklasfk';lakhkrajyh90qw6829405ik;lghklQHPO3QQKT4OYJUHPOQ;IHSEEQPiJ8o?htiDs?BeraStzoFTkSSxgHt5Js&o3L";
const code = `module.exports = function() {
const {
version
} = require("./package.json");
return hashSync(\`\${process.env.KEY}:\${version}\`, 10);
}`;
const cryptr = new (require("cryptr"))(key);
console.log(cryptr.encrypt(code));
module.exports = key;