Built motion from commit 709aa6fb5ed03aa61bc373fcdbf622215d37d30b. Version 3.0.0...
[motion-next.git] / server / components / encryptor / index.js
index 6a7b1d7..3a488df 100644 (file)
@@ -1 +1 @@
-const a825_0x48f4=['length','createReadStream','toString','you\x20must\x20pass\x20a\x20secret','error','unlink','createHash','binary','open','app','./create-cypher-fallback','alloc','info','key','license','read','algorithm','secret','string','some-naughty-secret','split','undefined','digest','aes-256-ctr','slice','createWriteStream','promises','randomBytes','base64','from','write','end','data1','utf8','data','sha256','close','separator','final','Missing\x20Initialization\x20Vector\x20in\x20the\x20encrypted\x20string.\x20Using\x20fallbacks.','utf-8','parse','join','substr','update','../../config/logger','createCipheriv'];(function(_0x17554b,_0x48f41c){const _0xa25679=function(_0x2b9f95){while(--_0x2b9f95){_0x17554b['push'](_0x17554b['shift']());}};_0xa25679(++_0x48f41c);}(a825_0x48f4,0x189));const a825_0xa256=function(_0x17554b,_0x48f41c){_0x17554b=_0x17554b-0x0;let _0xa25679=a825_0x48f4[_0x17554b];return _0xa25679;};const _0x5448f3=a825_0xa256;'use strict';const fs=require('fs'),crypto=require('crypto'),{createCypherFallback}=require(_0x5448f3('0x28')),logger=require(_0x5448f3('0x1c'))(_0x5448f3('0x27')),DEFAULT_STRING_OPTIONS={'secret':_0x5448f3('0x2'),'algorithm':'aes-256-ctr','separator':'!'},DEFAULT_FILE_OPTIONS={'algorithm':'aes192','separator':'!'},KEYLEN_MAP={'aes-256-ctr':0x20,'aes192':0x18},IVLEN_MAP={'aes-256-ctr':0x18,'aes192':0x10};function getCipherAndIvText(_0x2b9f95,_0x172cda,_0x24223d){const _0x2b1c61=_0x5448f3,_0x1af232=KEYLEN_MAP[_0x172cda],_0x504ce3=crypto[_0x2b1c61('0x24')](_0x2b1c61('0x12'))['update'](String(_0x2b9f95))[_0x2b1c61('0x5')](_0x2b1c61('0xb'))['substr'](0x0,_0x1af232),_0x125ca5=Buffer['from'](_0x504ce3,_0x2b1c61('0x17')),_0xee85ac=crypto[_0x2b1c61('0xa')](0x10),_0x3023cc=_0xee85ac[_0x2b1c61('0x20')]('base64'),_0x3d907c=crypto[_0x2b1c61('0x1d')](_0x172cda,_0x125ca5,_0xee85ac,_0x24223d);return[_0x3d907c,_0x3023cc];}function getDecipher(_0x33a115,_0x407082,_0x37805b,_0x21300c){const _0x5aa267=_0x5448f3,_0x27e435=KEYLEN_MAP[_0x407082],_0x261983=typeof _0x37805b===_0x5aa267('0x1')&&_0x37805b[_0x5aa267('0x1e')]>0x0;let _0x42dae6=null,_0x12b306=null;if(!_0x261983){logger[_0x5aa267('0x2a')](_0x5aa267('0x16'));const _0x89adc4=createCypherFallback(_0x407082,_0x33a115);_0x12b306=_0x89adc4['iv'],_0x42dae6=_0x89adc4[_0x5aa267('0x2b')];}const _0x44d34d=_0x261983?Buffer[_0x5aa267('0xc')](_0x37805b,_0x5aa267('0xb')):_0x12b306,_0x4366cc=_0x261983?crypto[_0x5aa267('0x24')](_0x5aa267('0x12'))['update'](String(_0x33a115))['digest']('base64')[_0x5aa267('0x1a')](0x0,_0x27e435):null,_0x1cee05=_0x261983?Buffer[_0x5aa267('0xc')](_0x4366cc,_0x5aa267('0x17')):_0x42dae6,_0x1da06a=crypto['createDecipheriv'](_0x407082,_0x1cee05,_0x44d34d,_0x21300c);return _0x1da06a;}function encryptFile(_0xb6f2f6,_0x36a80c,_0x7870c8,_0x12ad59={}){return new Promise(function(_0xba6a92,_0x579036){const _0x3b68bc=a825_0xa256;_0x12ad59={...DEFAULT_FILE_OPTIONS,..._0x12ad59};const _0x21d04d=fs['createReadStream'](_0xb6f2f6),_0xe5f323=fs['createWriteStream'](_0x36a80c),[_0x1a8a88,_0x4e7c03]=getCipherAndIvText(_0x7870c8,_0x12ad59[_0x3b68bc('0x2e')]);_0x21d04d['on'](_0x3b68bc('0x26'),function(){const _0x1f24e7=_0x3b68bc,_0x2769bc=Buffer[_0x1f24e7('0xc')](_0x4e7c03,'base64'),_0x3da598=Buffer[_0x1f24e7('0xc')](_0x12ad59[_0x1f24e7('0x14')],_0x1f24e7('0x17'));_0xe5f323['write'](Buffer['concat']([_0x2769bc,_0x3da598],_0x2769bc['length']+_0x3da598['length']));}),_0x21d04d['on'](_0x3b68bc('0x11'),function(_0x87042d){const _0x47ca41=_0x3b68bc,_0x3410aa=Buffer[_0x47ca41('0xc')](_0x1a8a88[_0x47ca41('0x1b')](_0x87042d),_0x47ca41('0x25'));_0xe5f323[_0x47ca41('0xd')](_0x3410aa);}),_0x21d04d['on']('end',function(){const _0x30e026=_0x3b68bc;try{const _0x4686b3=Buffer[_0x30e026('0xc')](_0x1a8a88[_0x30e026('0x15')](_0x30e026('0x25')),_0x30e026('0x25'));_0xe5f323[_0x30e026('0xd')](_0x4686b3),_0xe5f323['end'](),_0xe5f323['on'](_0x30e026('0x13'),function(){_0xba6a92(_0x36a80c);});}catch(_0x3e6f40){fs[_0x30e026('0x23')](_0x36a80c,_0x412efd=>{_0x579036(_0x412efd===null?_0x3e6f40:_0x412efd);});}});});}async function decryptFile(_0xed227d,_0x23e801,_0x4c179d,_0x14d512={}){const _0x1357bf=_0x5448f3;_0x14d512={...DEFAULT_FILE_OPTIONS,..._0x14d512};const _0x417219=Buffer['from'](_0x14d512[_0x1357bf('0x14')],_0x1357bf('0x17'))[_0x1357bf('0x1e')],_0x56e424=IVLEN_MAP[_0x14d512['algorithm']],_0x401911=_0x56e424+_0x417219,_0x3504a2=await fs[_0x1357bf('0x9')][_0x1357bf('0x26')](_0xed227d,'r'),_0x5ec031=Buffer[_0x1357bf('0x29')](_0x401911),{buffer:_0x11bab0}=await _0x3504a2[_0x1357bf('0x2d')](_0x5ec031,0x0,_0x401911),_0x5ef97e=_0x11bab0[_0x1357bf('0x7')](0x0,_0x56e424),_0x3c9ef2=_0x11bab0['slice'](_0x56e424),_0x52cdcb=_0x3c9ef2[_0x1357bf('0x20')](_0x1357bf('0x17')),_0x8db0b6=_0x5ef97e[_0x1357bf('0x20')]('base64'),_0x45a981=_0x52cdcb===_0x14d512[_0x1357bf('0x14')];return new Promise(function(_0x78e7e3,_0x145a51){const _0x5d43bd=_0x1357bf,_0x2543b9=fs[_0x5d43bd('0x1f')](_0xed227d,{'start':_0x45a981?_0x401911:0x0,'fd':_0x3504a2,'autoClose':!![]}),_0x16f311=fs[_0x5d43bd('0x8')](_0x23e801),_0xf54680=getDecipher(_0x4c179d,_0x14d512[_0x5d43bd('0x2e')],_0x45a981?_0x8db0b6:null);_0x2543b9['on'](_0x5d43bd('0x11'),function(_0x1b2de2){const _0x49cfdc=_0x5d43bd,_0x180848=Buffer['from'](_0xf54680[_0x49cfdc('0x1b')](_0x1b2de2),'binary');_0x16f311[_0x49cfdc('0xd')](_0x180848);}),_0x2543b9['on'](_0x5d43bd('0x22'),_0xce17dc=>_0x145a51(_0xce17dc)),_0x2543b9['on'](_0x5d43bd('0xe'),function(){const _0x254e5f=_0x5d43bd;try{const _0x3ea3c5=Buffer['from'](_0xf54680[_0x254e5f('0x15')](_0x254e5f('0x25')),'binary');_0x16f311[_0x254e5f('0xd')](_0x3ea3c5),_0x16f311[_0x254e5f('0xe')](),_0x16f311['on'](_0x254e5f('0x13'),function(){_0x78e7e3(_0x23e801);});}catch(_0x7c213e){fs[_0x254e5f('0x23')](_0x23e801,_0x366347=>{_0x145a51(_0x366347===null?_0x7c213e:_0x366347);});}});});}function encryptString(_0x5e4865,_0x11690e=DEFAULT_STRING_OPTIONS[_0x5448f3('0x0')],_0x12788e=DEFAULT_STRING_OPTIONS['algorithm'],_0x5303a8=DEFAULT_STRING_OPTIONS[_0x5448f3('0x14')]){const _0x29a9fe=_0x5448f3;if(!_0x5e4865||_0x5e4865[_0x29a9fe('0x1e')]===0x0)return _0x5e4865;if(!_0x11690e||_0x11690e[_0x29a9fe('0x1e')]===0x0)throw new Error(_0x29a9fe('0x21'));const [_0x3b27ac,_0x12c6ee]=getCipherAndIvText(_0x11690e,_0x12788e);let _0x4f41b4=_0x3b27ac[_0x29a9fe('0x1b')](_0x5e4865,_0x29a9fe('0x10'),'base64');return _0x4f41b4+=_0x3b27ac['final'](_0x29a9fe('0xb')),[_0x12c6ee,_0x4f41b4][_0x29a9fe('0x19')](_0x5303a8);}function decryptString(_0x5b54ba,_0x5c89ca=DEFAULT_STRING_OPTIONS[_0x5448f3('0x0')],_0x4e4f11=DEFAULT_STRING_OPTIONS[_0x5448f3('0x2e')],_0x202a12=DEFAULT_STRING_OPTIONS['separator']){const _0x24b906=_0x5448f3;if(!_0x5b54ba||_0x5b54ba[_0x24b906('0x1e')]===0x0)return _0x5b54ba;if(!_0x5c89ca||_0x5c89ca['length']===0x0)throw new Error(_0x24b906('0x21'));const _0x2f7d0d=_0x5b54ba[_0x24b906('0x3')](_0x202a12),_0x419cdf=_0x2f7d0d['length']===0x2,_0x2758f7=_0x419cdf?_0x2f7d0d[0x1]:_0x5b54ba,_0x490467=getDecipher(_0x5c89ca,_0x4e4f11,_0x419cdf?_0x2f7d0d[0x0]:undefined);let _0x3c31e9=_0x490467[_0x24b906('0x1b')](_0x2758f7,'base64',_0x24b906('0x10'));return _0x3c31e9+=_0x490467[_0x24b906('0x15')](_0x24b906('0x10')),_0x3c31e9;}function getValueFromLicense(_0x797644,_0xa64bb1){const _0x16e116=_0x5448f3;if(_0x797644&&_0xa64bb1){if(_0xa64bb1[_0x16e116('0xf')]&&_0xa64bb1[_0x16e116('0x2c')]){const _0x141ea1=_0xa64bb1[_0x16e116('0xf')],_0x231694=_0xa64bb1['license'],_0x523422=_0x141ea1[_0x16e116('0x3')]('-')[0x4],_0x889237=_0x141ea1[_0x16e116('0x3')]('-')[0x0],_0x5ccaee=[_0x523422,_0x141ea1,_0x889237][_0x16e116('0x19')](':'),_0x272b9f=getDecipher(_0x5ccaee,_0x16e116('0x6'));let _0x561a1b=_0x272b9f[_0x16e116('0x1b')](_0x231694,'base64',_0x16e116('0x10'));_0x561a1b+=_0x272b9f[_0x16e116('0x15')](_0x16e116('0x10'));const _0x3abe71=JSON[_0x16e116('0x18')](_0x561a1b);return typeof _0x3abe71[_0x797644]===_0x16e116('0x4')?null:_0x3abe71[_0x797644];}}return null;}module['exports']={'encryptFile':encryptFile,'decryptFile':decryptFile,'encryptString':encryptString,'decryptString':decryptString,'getValueFromLicense':getValueFromLicense};
\ No newline at end of file
+const a825_0x2812=['update','base64','createHash','exports','binary','error','substr','unlink','sha256','final','data1','key','aes-256-ctr','join','license','separator','randomBytes','crypto','undefined','length','toString','data','read','promises','algorithm','utf8','write','concat','createWriteStream','app','createReadStream','utf-8','secret','from','../../config/logger','split','slice','./create-cypher-fallback','digest','open','parse','end','close','createCipheriv','info'];(function(_0x562b09,_0x2812ed){const _0x40b9a7=function(_0xdf8190){while(--_0xdf8190){_0x562b09['push'](_0x562b09['shift']());}};_0x40b9a7(++_0x2812ed);}(a825_0x2812,0xcb));const a825_0x40b9=function(_0x562b09,_0x2812ed){_0x562b09=_0x562b09-0x0;let _0x40b9a7=a825_0x2812[_0x562b09];return _0x40b9a7;};const _0x1ee946=a825_0x40b9;'use strict';const fs=require('fs'),crypto=require(_0x1ee946('0x27')),{createCypherFallback}=require(_0x1ee946('0xe')),logger=require(_0x1ee946('0xb'))(_0x1ee946('0x6')),DEFAULT_STRING_OPTIONS={'secret':'some-naughty-secret','algorithm':_0x1ee946('0x22'),'separator':'!'},DEFAULT_FILE_OPTIONS={'algorithm':'aes192','separator':'!'},KEYLEN_MAP={'aes-256-ctr':0x20,'aes192':0x18},IVLEN_MAP={'aes-256-ctr':0x18,'aes192':0x10};function getCipherAndIvText(_0xdf8190,_0x54ffee,_0x3b06c7){const _0x37ae40=_0x1ee946,_0x267850=KEYLEN_MAP[_0x54ffee],_0x228979=crypto[_0x37ae40('0x18')](_0x37ae40('0x1e'))[_0x37ae40('0x16')](String(_0xdf8190))[_0x37ae40('0xf')]('base64')['substr'](0x0,_0x267850),_0x3ebd49=Buffer[_0x37ae40('0xa')](_0x228979,'utf-8'),_0x2fd28e=crypto[_0x37ae40('0x26')](0x10),_0x528811=_0x2fd28e['toString'](_0x37ae40('0x17')),_0x195c8a=crypto[_0x37ae40('0x14')](_0x54ffee,_0x3ebd49,_0x2fd28e,_0x3b06c7);return[_0x195c8a,_0x528811];}function getDecipher(_0x4a906d,_0x3acf74,_0x562950,_0x2d0749){const _0x4e8013=_0x1ee946,_0x1033f5=KEYLEN_MAP[_0x3acf74],_0x39a0c9=typeof _0x562950==='string'&&_0x562950[_0x4e8013('0x29')]>0x0;let _0x30f7d1=null,_0x5580d7=null;if(!_0x39a0c9){logger[_0x4e8013('0x15')]('Missing\x20Initialization\x20Vector\x20in\x20the\x20encrypted\x20string.\x20Using\x20fallbacks.');const _0x2c91fb=createCypherFallback(_0x3acf74,_0x4a906d);_0x5580d7=_0x2c91fb['iv'],_0x30f7d1=_0x2c91fb[_0x4e8013('0x21')];}const _0x4f69a2=_0x39a0c9?Buffer[_0x4e8013('0xa')](_0x562950,_0x4e8013('0x17')):_0x5580d7,_0xbce435=_0x39a0c9?crypto[_0x4e8013('0x18')](_0x4e8013('0x1e'))[_0x4e8013('0x16')](String(_0x4a906d))[_0x4e8013('0xf')]('base64')[_0x4e8013('0x1c')](0x0,_0x1033f5):null,_0x4f8add=_0x39a0c9?Buffer['from'](_0xbce435,'utf-8'):_0x30f7d1,_0x591f2b=crypto['createDecipheriv'](_0x3acf74,_0x4f8add,_0x4f69a2,_0x2d0749);return _0x591f2b;}function encryptFile(_0x4dff48,_0x264885,_0x4fcb5d,_0x360408={}){return new Promise(function(_0x44d282,_0x5c8b70){const _0x325f9c=a825_0x40b9;_0x360408={...DEFAULT_FILE_OPTIONS,..._0x360408};const _0x4b53d0=fs[_0x325f9c('0x7')](_0x4dff48),_0x65f27d=fs[_0x325f9c('0x5')](_0x264885),[_0x336fac,_0x5a8734]=getCipherAndIvText(_0x4fcb5d,_0x360408[_0x325f9c('0x1')]);_0x4b53d0['on']('open',function(){const _0x10e17c=_0x325f9c,_0x1ef7f2=Buffer[_0x10e17c('0xa')](_0x5a8734,_0x10e17c('0x17')),_0x304d4e=Buffer['from'](_0x360408[_0x10e17c('0x25')],_0x10e17c('0x8'));_0x65f27d[_0x10e17c('0x3')](Buffer[_0x10e17c('0x4')]([_0x1ef7f2,_0x304d4e],_0x1ef7f2[_0x10e17c('0x29')]+_0x304d4e['length']));}),_0x4b53d0['on']('data',function(_0x18bcb8){const _0x35be1e=_0x325f9c,_0x5888cb=Buffer[_0x35be1e('0xa')](_0x336fac['update'](_0x18bcb8),_0x35be1e('0x1a'));_0x65f27d[_0x35be1e('0x3')](_0x5888cb);}),_0x4b53d0['on'](_0x325f9c('0x12'),function(){const _0x3a5cbd=_0x325f9c;try{const _0x117ee3=Buffer[_0x3a5cbd('0xa')](_0x336fac['final']('binary'),'binary');_0x65f27d[_0x3a5cbd('0x3')](_0x117ee3),_0x65f27d[_0x3a5cbd('0x12')](),_0x65f27d['on'](_0x3a5cbd('0x13'),function(){_0x44d282(_0x264885);});}catch(_0x32edbc){fs[_0x3a5cbd('0x1d')](_0x264885,_0x39a891=>{_0x5c8b70(_0x39a891===null?_0x32edbc:_0x39a891);});}});});}async function decryptFile(_0x2c70ae,_0x3f41c7,_0x3eb8fd,_0x3b5977={}){const _0x1e05ae=_0x1ee946;_0x3b5977={...DEFAULT_FILE_OPTIONS,..._0x3b5977};const _0x4a32c6=Buffer['from'](_0x3b5977[_0x1e05ae('0x25')],'utf-8')[_0x1e05ae('0x29')],_0x238286=IVLEN_MAP[_0x3b5977[_0x1e05ae('0x1')]],_0x166fd3=_0x238286+_0x4a32c6,_0x211e74=await fs[_0x1e05ae('0x0')][_0x1e05ae('0x10')](_0x2c70ae,'r'),_0x430f9b=Buffer['alloc'](_0x166fd3),{buffer:_0xe7fe02}=await _0x211e74[_0x1e05ae('0x2c')](_0x430f9b,0x0,_0x166fd3),_0x3c6621=_0xe7fe02[_0x1e05ae('0xd')](0x0,_0x238286),_0x21a504=_0xe7fe02['slice'](_0x238286),_0x403ef6=_0x21a504[_0x1e05ae('0x2a')](_0x1e05ae('0x8')),_0x615b26=_0x3c6621[_0x1e05ae('0x2a')](_0x1e05ae('0x17')),_0xa17a2e=_0x403ef6===_0x3b5977[_0x1e05ae('0x25')];return new Promise(function(_0x2e2b37,_0x416352){const _0x199128=_0x1e05ae,_0x380648=fs[_0x199128('0x7')](_0x2c70ae,{'start':_0xa17a2e?_0x166fd3:0x0,'fd':_0x211e74,'autoClose':!![]}),_0x320cc2=fs['createWriteStream'](_0x3f41c7),_0x1d5ae1=getDecipher(_0x3eb8fd,_0x3b5977[_0x199128('0x1')],_0xa17a2e?_0x615b26:null);_0x380648['on'](_0x199128('0x2b'),function(_0x45a85a){const _0x130e64=_0x199128,_0x36b845=Buffer[_0x130e64('0xa')](_0x1d5ae1['update'](_0x45a85a),_0x130e64('0x1a'));_0x320cc2[_0x130e64('0x3')](_0x36b845);}),_0x380648['on'](_0x199128('0x1b'),_0x405cbf=>_0x416352(_0x405cbf)),_0x380648['on']('end',function(){const _0x4d0c8d=_0x199128;try{const _0x1bdf42=Buffer['from'](_0x1d5ae1[_0x4d0c8d('0x1f')](_0x4d0c8d('0x1a')),_0x4d0c8d('0x1a'));_0x320cc2[_0x4d0c8d('0x3')](_0x1bdf42),_0x320cc2[_0x4d0c8d('0x12')](),_0x320cc2['on']('close',function(){_0x2e2b37(_0x3f41c7);});}catch(_0x43f350){fs[_0x4d0c8d('0x1d')](_0x3f41c7,_0x479b0f=>{_0x416352(_0x479b0f===null?_0x43f350:_0x479b0f);});}});});}function encryptString(_0x20a14a,_0x2bb1cd=DEFAULT_STRING_OPTIONS[_0x1ee946('0x9')],_0x14a752=DEFAULT_STRING_OPTIONS['algorithm'],_0x838908=DEFAULT_STRING_OPTIONS['separator']){const _0x2189e5=_0x1ee946;if(!_0x20a14a||_0x20a14a[_0x2189e5('0x29')]===0x0)return _0x20a14a;if(!_0x2bb1cd||_0x2bb1cd['length']===0x0)throw new Error('you\x20must\x20pass\x20a\x20secret');const [_0x35651a,_0x26bf93]=getCipherAndIvText(_0x2bb1cd,_0x14a752);let _0x553cc8=_0x35651a[_0x2189e5('0x16')](_0x20a14a,_0x2189e5('0x2'),'base64');return _0x553cc8+=_0x35651a[_0x2189e5('0x1f')](_0x2189e5('0x17')),[_0x26bf93,_0x553cc8]['join'](_0x838908);}function decryptString(_0x242ce0,_0x1c5f29=DEFAULT_STRING_OPTIONS['secret'],_0x488697=DEFAULT_STRING_OPTIONS[_0x1ee946('0x1')],_0x5a553c=DEFAULT_STRING_OPTIONS[_0x1ee946('0x25')]){const _0x28709e=_0x1ee946;if(!_0x242ce0||_0x242ce0[_0x28709e('0x29')]===0x0)return _0x242ce0;if(!_0x1c5f29||_0x1c5f29[_0x28709e('0x29')]===0x0)throw new Error('you\x20must\x20pass\x20a\x20secret');const _0x588b8e=_0x242ce0[_0x28709e('0xc')](_0x5a553c),_0x49e0a2=_0x588b8e[_0x28709e('0x29')]===0x2,_0x639963=_0x49e0a2?_0x588b8e[0x1]:_0x242ce0,_0x504e41=getDecipher(_0x1c5f29,_0x488697,_0x49e0a2?_0x588b8e[0x0]:undefined);let _0x3ee8b7=_0x504e41[_0x28709e('0x16')](_0x639963,_0x28709e('0x17'),'utf8');return _0x3ee8b7+=_0x504e41[_0x28709e('0x1f')](_0x28709e('0x2')),_0x3ee8b7;}function getValueFromLicense(_0x502be3,_0x4239e6){const _0x52a6bd=_0x1ee946;if(_0x502be3&&_0x4239e6){if(_0x4239e6['data1']&&_0x4239e6[_0x52a6bd('0x24')]){const _0x41d430=_0x4239e6[_0x52a6bd('0x20')],_0x5c0e62=_0x4239e6[_0x52a6bd('0x24')],_0x257a2e=_0x41d430['split']('-')[0x4],_0x5b0961=_0x41d430[_0x52a6bd('0xc')]('-')[0x0],_0x3fc344=[_0x257a2e,_0x41d430,_0x5b0961][_0x52a6bd('0x23')](':'),_0x2dc872=getDecipher(_0x3fc344,'aes-256-ctr');let _0x1df868=_0x2dc872[_0x52a6bd('0x16')](_0x5c0e62,'base64',_0x52a6bd('0x2'));_0x1df868+=_0x2dc872['final'](_0x52a6bd('0x2'));const _0x59d66e=JSON[_0x52a6bd('0x11')](_0x1df868);return typeof _0x59d66e[_0x502be3]===_0x52a6bd('0x28')?null:_0x59d66e[_0x502be3];}}return null;}module[_0x1ee946('0x19')]={'encryptFile':encryptFile,'decryptFile':decryptFile,'encryptString':encryptString,'decryptString':decryptString,'getValueFromLicense':getValueFromLicense};
\ No newline at end of file