Built motion from commit a9fb64cc6defd8fb3a5cc199221f878e91c0e969. Version 3.0.0...
[motion-next.git] / server / components / encryptor / index.js
index ba3cf76..2f542b5 100644 (file)
@@ -1 +1 @@
-const a825_0x4bb7=['binary','../../config/logger','exports','separator','close','secret','data','promises','createWriteStream','you\x20must\x20pass\x20a\x20secret','app','createDecipheriv','toString','parse','utf-8','split','final','createReadStream','update','some-naughty-secret','crypto','from','read','slice','./create-cypher-fallback','unlink','utf8','Missing\x20Initialization\x20Vector\x20in\x20the\x20encrypted\x20string.\x20Using\x20fallbacks.','createCipheriv','license','digest','info','aes-256-ctr','base64','join','write','end','length','algorithm','sha256','data1','undefined','substr'];(function(_0x48ffd1,_0x4bb7dc){const _0x272770=function(_0x52e082){while(--_0x52e082){_0x48ffd1['push'](_0x48ffd1['shift']());}};_0x272770(++_0x4bb7dc);}(a825_0x4bb7,0xa4));const a825_0x2727=function(_0x48ffd1,_0x4bb7dc){_0x48ffd1=_0x48ffd1-0x0;let _0x272770=a825_0x4bb7[_0x48ffd1];return _0x272770;};const _0x41ae1f=a825_0x2727;'use strict';const fs=require('fs'),crypto=require(_0x41ae1f('0x1c')),{createCypherFallback}=require(_0x41ae1f('0x20')),logger=require(_0x41ae1f('0x9'))(_0x41ae1f('0x12')),DEFAULT_STRING_OPTIONS={'secret':_0x41ae1f('0x1b'),'algorithm':_0x41ae1f('0x28'),'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(_0x52e082,_0x2e9fe2,_0x4cd0ec){const _0x4fe4bf=_0x41ae1f,_0x36036e=KEYLEN_MAP[_0x2e9fe2],_0x2a164d=crypto['createHash']('sha256')['update'](String(_0x52e082))[_0x4fe4bf('0x26')]('base64')[_0x4fe4bf('0x7')](0x0,_0x36036e),_0x2136f2=Buffer['from'](_0x2a164d,'utf-8'),_0x5d5d08=crypto['randomBytes'](0x10),_0x2749b6=_0x5d5d08[_0x4fe4bf('0x14')](_0x4fe4bf('0x29')),_0x155062=crypto[_0x4fe4bf('0x24')](_0x2e9fe2,_0x2136f2,_0x5d5d08,_0x4cd0ec);return[_0x155062,_0x2749b6];}function getDecipher(_0x4f9349,_0x1e6ad9,_0x46dad7,_0x45d0e5){const _0x27cbc3=_0x41ae1f,_0x7105bc=KEYLEN_MAP[_0x1e6ad9],_0xfd8f8c=typeof _0x46dad7==='string'&&_0x46dad7[_0x27cbc3('0x2')]>0x0;let _0x951019=null,_0x3559c4=null;if(!_0xfd8f8c){logger[_0x27cbc3('0x27')](_0x27cbc3('0x23'));const _0x3198ac=createCypherFallback(_0x1e6ad9,_0x4f9349);_0x3559c4=_0x3198ac['iv'],_0x951019=_0x3198ac['key'];}const _0x413b8e=_0xfd8f8c?Buffer['from'](_0x46dad7,_0x27cbc3('0x29')):_0x3559c4,_0x1e25fa=_0xfd8f8c?crypto['createHash'](_0x27cbc3('0x4'))[_0x27cbc3('0x1a')](String(_0x4f9349))[_0x27cbc3('0x26')]('base64')['substr'](0x0,_0x7105bc):null,_0x17b63c=_0xfd8f8c?Buffer[_0x27cbc3('0x1d')](_0x1e25fa,_0x27cbc3('0x16')):_0x951019,_0x2ea83d=crypto[_0x27cbc3('0x13')](_0x1e6ad9,_0x17b63c,_0x413b8e,_0x45d0e5);return _0x2ea83d;}function encryptFile(_0x4ad6a3,_0x14bb17,_0x11bced,_0x3d54cd={}){return new Promise(function(_0x363a6d,_0x5e9c59){const _0x430987=a825_0x2727;_0x3d54cd={...DEFAULT_FILE_OPTIONS,..._0x3d54cd};const _0x4c621a=fs[_0x430987('0x19')](_0x4ad6a3),_0x3737bf=fs[_0x430987('0x10')](_0x14bb17),[_0x5c6ebb,_0x500a3d]=getCipherAndIvText(_0x11bced,_0x3d54cd['algorithm']);_0x4c621a['on']('open',function(){const _0x30429a=_0x430987,_0xaa204b=Buffer['from'](_0x500a3d,'base64'),_0x17b0a7=Buffer[_0x30429a('0x1d')](_0x3d54cd[_0x30429a('0xb')],_0x30429a('0x16'));_0x3737bf['write'](Buffer['concat']([_0xaa204b,_0x17b0a7],_0xaa204b['length']+_0x17b0a7['length']));}),_0x4c621a['on']('data',function(_0x11777c){const _0x1ee8b2=_0x430987,_0x3967ff=Buffer[_0x1ee8b2('0x1d')](_0x5c6ebb['update'](_0x11777c),_0x1ee8b2('0x8'));_0x3737bf[_0x1ee8b2('0x0')](_0x3967ff);}),_0x4c621a['on'](_0x430987('0x1'),function(){const _0x15507b=_0x430987;try{const _0x3bc5fc=Buffer[_0x15507b('0x1d')](_0x5c6ebb[_0x15507b('0x18')]('binary'),_0x15507b('0x8'));_0x3737bf['write'](_0x3bc5fc),_0x3737bf[_0x15507b('0x1')](),_0x3737bf['on'](_0x15507b('0xc'),function(){_0x363a6d(_0x14bb17);});}catch(_0x30512e){fs[_0x15507b('0x21')](_0x14bb17,_0x2fe0d3=>{_0x5e9c59(_0x2fe0d3===null?_0x30512e:_0x2fe0d3);});}});});}async function decryptFile(_0x3aa5cb,_0xd11e7f,_0x209aa3,_0x369dcc={}){const _0x1a4a44=_0x41ae1f;_0x369dcc={...DEFAULT_FILE_OPTIONS,..._0x369dcc};const _0x595013=Buffer[_0x1a4a44('0x1d')](_0x369dcc['separator'],_0x1a4a44('0x16'))[_0x1a4a44('0x2')],_0x372024=IVLEN_MAP[_0x369dcc[_0x1a4a44('0x3')]],_0x5db5c9=_0x372024+_0x595013,_0xdbfc94=await fs[_0x1a4a44('0xf')]['open'](_0x3aa5cb,'r'),_0x25a67d=Buffer['alloc'](_0x5db5c9),{buffer:_0x2dad90}=await _0xdbfc94[_0x1a4a44('0x1e')](_0x25a67d,0x0,_0x5db5c9),_0x4f1369=_0x2dad90[_0x1a4a44('0x1f')](0x0,_0x372024),_0x334adf=_0x2dad90['slice'](_0x372024),_0x13e4f9=_0x334adf[_0x1a4a44('0x14')]('utf-8'),_0x41352a=_0x4f1369[_0x1a4a44('0x14')](_0x1a4a44('0x29')),_0x54b6f4=_0x13e4f9===_0x369dcc[_0x1a4a44('0xb')];return new Promise(function(_0x42c19c,_0x328b9b){const _0xcf3f65=_0x1a4a44,_0x461abc=fs[_0xcf3f65('0x19')](_0x3aa5cb,{'start':_0x54b6f4?_0x5db5c9:0x0,'fd':_0xdbfc94,'autoClose':!![]}),_0x2fd64a=fs[_0xcf3f65('0x10')](_0xd11e7f),_0x5c0dfb=getDecipher(_0x209aa3,_0x369dcc[_0xcf3f65('0x3')],_0x54b6f4?_0x41352a:null);_0x461abc['on'](_0xcf3f65('0xe'),function(_0x231b5c){const _0x5b633b=_0xcf3f65,_0x493e30=Buffer[_0x5b633b('0x1d')](_0x5c0dfb[_0x5b633b('0x1a')](_0x231b5c),_0x5b633b('0x8'));_0x2fd64a[_0x5b633b('0x0')](_0x493e30);}),_0x461abc['on']('error',_0x3947cc=>_0x328b9b(_0x3947cc)),_0x461abc['on'](_0xcf3f65('0x1'),function(){const _0x5e7ab4=_0xcf3f65;try{const _0xa8ef38=Buffer[_0x5e7ab4('0x1d')](_0x5c0dfb[_0x5e7ab4('0x18')](_0x5e7ab4('0x8')),_0x5e7ab4('0x8'));_0x2fd64a[_0x5e7ab4('0x0')](_0xa8ef38),_0x2fd64a['end'](),_0x2fd64a['on']('close',function(){_0x42c19c(_0xd11e7f);});}catch(_0xb3340){fs[_0x5e7ab4('0x21')](_0xd11e7f,_0x5cfd9a=>{_0x328b9b(_0x5cfd9a===null?_0xb3340:_0x5cfd9a);});}});});}function encryptString(_0x53b515,_0x4dbbbb=DEFAULT_STRING_OPTIONS['secret'],_0x2ccddd=DEFAULT_STRING_OPTIONS[_0x41ae1f('0x3')],_0x50e047=DEFAULT_STRING_OPTIONS['separator']){const _0x2997b3=_0x41ae1f;if(!_0x53b515||_0x53b515[_0x2997b3('0x2')]===0x0)return _0x53b515;if(!_0x4dbbbb||_0x4dbbbb[_0x2997b3('0x2')]===0x0)throw new Error(_0x2997b3('0x11'));const [_0x361a2f,_0x2226df]=getCipherAndIvText(_0x4dbbbb,_0x2ccddd);let _0x3bc7b6=_0x361a2f[_0x2997b3('0x1a')](_0x53b515,'utf8',_0x2997b3('0x29'));return _0x3bc7b6+=_0x361a2f[_0x2997b3('0x18')]('base64'),[_0x2226df,_0x3bc7b6][_0x2997b3('0x2a')](_0x50e047);}function decryptString(_0x52e017,_0x325b86=DEFAULT_STRING_OPTIONS[_0x41ae1f('0xd')],_0x3d57f5=DEFAULT_STRING_OPTIONS[_0x41ae1f('0x3')],_0x434007=DEFAULT_STRING_OPTIONS[_0x41ae1f('0xb')]){const _0x46fd24=_0x41ae1f;if(!_0x52e017||_0x52e017[_0x46fd24('0x2')]===0x0)return _0x52e017;if(!_0x325b86||_0x325b86['length']===0x0)throw new Error('you\x20must\x20pass\x20a\x20secret');const _0x52310a=_0x52e017[_0x46fd24('0x17')](_0x434007),_0xfa3a26=_0x52310a[_0x46fd24('0x2')]===0x2,_0x12bccf=_0xfa3a26?_0x52310a[0x1]:_0x52e017,_0xcbeab1=getDecipher(_0x325b86,_0x3d57f5,_0xfa3a26?_0x52310a[0x0]:undefined);let _0x9e22d3=_0xcbeab1[_0x46fd24('0x1a')](_0x12bccf,_0x46fd24('0x29'),_0x46fd24('0x22'));return _0x9e22d3+=_0xcbeab1[_0x46fd24('0x18')](_0x46fd24('0x22')),_0x9e22d3;}function getValueFromLicense(_0x298402,_0x5e8cd9){const _0x590191=_0x41ae1f;if(_0x298402&&_0x5e8cd9){if(_0x5e8cd9[_0x590191('0x5')]&&_0x5e8cd9['license']){const _0x1b7ff0=_0x5e8cd9[_0x590191('0x5')],_0x2b505b=_0x5e8cd9[_0x590191('0x25')],_0x697e24=_0x1b7ff0[_0x590191('0x17')]('-')[0x4],_0x35319b=_0x1b7ff0[_0x590191('0x17')]('-')[0x0],_0x3daf10=[_0x697e24,_0x1b7ff0,_0x35319b]['join'](':'),_0x554c84=getDecipher(_0x3daf10,'aes-256-ctr');let _0x2d6c7e=_0x554c84[_0x590191('0x1a')](_0x2b505b,_0x590191('0x29'),_0x590191('0x22'));_0x2d6c7e+=_0x554c84[_0x590191('0x18')]('utf8');const _0x3278be=JSON[_0x590191('0x15')](_0x2d6c7e);return typeof _0x3278be[_0x298402]===_0x590191('0x6')?null:_0x3278be[_0x298402];}}return null;}module[_0x41ae1f('0xa')]={'encryptFile':encryptFile,'decryptFile':decryptFile,'encryptString':encryptString,'decryptString':decryptString,'getValueFromLicense':getValueFromLicense};
\ No newline at end of file
+const a825_0x5dfe=['toString','some-naughty-secret','randomBytes','license','info','aes192','createReadStream','createWriteStream','substr','binary','app','undefined','utf-8','update','error','from','final','open','./create-cypher-fallback','Missing\x20Initialization\x20Vector\x20in\x20the\x20encrypted\x20string.\x20Using\x20fallbacks.','string','read','close','unlink','aes-256-ctr','utf8','base64','slice','digest','algorithm','createHash','promises','end','../../config/logger','createCipheriv','secret','write','split','crypto','length','you\x20must\x20pass\x20a\x20secret','sha256','separator','join'];(function(_0x4bf0b2,_0x5dfe53){const _0x2588ff=function(_0x149846){while(--_0x149846){_0x4bf0b2['push'](_0x4bf0b2['shift']());}};_0x2588ff(++_0x5dfe53);}(a825_0x5dfe,0x16b));const a825_0x2588=function(_0x4bf0b2,_0x5dfe53){_0x4bf0b2=_0x4bf0b2-0x0;let _0x2588ff=a825_0x5dfe[_0x4bf0b2];return _0x2588ff;};const _0x2912e0=a825_0x2588;'use strict';const fs=require('fs'),crypto=require(_0x2912e0('0x1b')),{createCypherFallback}=require(_0x2912e0('0x7')),logger=require(_0x2912e0('0x16'))(_0x2912e0('0x2b')),DEFAULT_STRING_OPTIONS={'secret':_0x2912e0('0x22'),'algorithm':_0x2912e0('0xd'),'separator':'!'},DEFAULT_FILE_OPTIONS={'algorithm':_0x2912e0('0x26'),'separator':'!'},KEYLEN_MAP={'aes-256-ctr':0x20,'aes192':0x18},IVLEN_MAP={'aes-256-ctr':0x18,'aes192':0x10};function getCipherAndIvText(_0x149846,_0x1b7724,_0x43c766){const _0xb21a39=_0x2912e0,_0x3c8d5c=KEYLEN_MAP[_0x1b7724],_0x525c76=crypto['createHash'](_0xb21a39('0x1e'))['update'](String(_0x149846))[_0xb21a39('0x11')](_0xb21a39('0xf'))[_0xb21a39('0x29')](0x0,_0x3c8d5c),_0x3dce5b=Buffer[_0xb21a39('0x4')](_0x525c76,'utf-8'),_0x35d246=crypto[_0xb21a39('0x23')](0x10),_0x2b3d9b=_0x35d246[_0xb21a39('0x21')](_0xb21a39('0xf')),_0x366850=crypto[_0xb21a39('0x17')](_0x1b7724,_0x3dce5b,_0x35d246,_0x43c766);return[_0x366850,_0x2b3d9b];}function getDecipher(_0x5b0167,_0x431380,_0xfe57c0,_0x2e0540){const _0x3f1cce=_0x2912e0,_0xd66fe7=KEYLEN_MAP[_0x431380],_0x5606bd=typeof _0xfe57c0===_0x3f1cce('0x9')&&_0xfe57c0[_0x3f1cce('0x1c')]>0x0;let _0x5aeceb=null,_0x3c376d=null;if(!_0x5606bd){logger[_0x3f1cce('0x25')](_0x3f1cce('0x8'));const _0x573196=createCypherFallback(_0x431380,_0x5b0167);_0x3c376d=_0x573196['iv'],_0x5aeceb=_0x573196['key'];}const _0x31b977=_0x5606bd?Buffer['from'](_0xfe57c0,'base64'):_0x3c376d,_0x493b93=_0x5606bd?crypto[_0x3f1cce('0x13')](_0x3f1cce('0x1e'))[_0x3f1cce('0x2')](String(_0x5b0167))[_0x3f1cce('0x11')](_0x3f1cce('0xf'))[_0x3f1cce('0x29')](0x0,_0xd66fe7):null,_0x23d9eb=_0x5606bd?Buffer[_0x3f1cce('0x4')](_0x493b93,'utf-8'):_0x5aeceb,_0x88f85a=crypto['createDecipheriv'](_0x431380,_0x23d9eb,_0x31b977,_0x2e0540);return _0x88f85a;}function encryptFile(_0x1eaf6b,_0x6ac0fc,_0x1c5378,_0x585c39={}){return new Promise(function(_0x19257b,_0x1fb3ef){const _0x3a0954=a825_0x2588;_0x585c39={...DEFAULT_FILE_OPTIONS,..._0x585c39};const _0x44b6e3=fs[_0x3a0954('0x27')](_0x1eaf6b),_0x3fd401=fs[_0x3a0954('0x28')](_0x6ac0fc),[_0x2c247f,_0x2fd3fa]=getCipherAndIvText(_0x1c5378,_0x585c39[_0x3a0954('0x12')]);_0x44b6e3['on'](_0x3a0954('0x6'),function(){const _0x5caa61=_0x3a0954,_0x30434f=Buffer[_0x5caa61('0x4')](_0x2fd3fa,_0x5caa61('0xf')),_0x27cce3=Buffer[_0x5caa61('0x4')](_0x585c39['separator'],_0x5caa61('0x1'));_0x3fd401[_0x5caa61('0x19')](Buffer['concat']([_0x30434f,_0x27cce3],_0x30434f[_0x5caa61('0x1c')]+_0x27cce3[_0x5caa61('0x1c')]));}),_0x44b6e3['on']('data',function(_0x3931b3){const _0x5c7121=_0x3a0954,_0x58b48c=Buffer['from'](_0x2c247f[_0x5c7121('0x2')](_0x3931b3),'binary');_0x3fd401[_0x5c7121('0x19')](_0x58b48c);}),_0x44b6e3['on'](_0x3a0954('0x15'),function(){const _0x1e181b=_0x3a0954;try{const _0x52a5f0=Buffer[_0x1e181b('0x4')](_0x2c247f['final'](_0x1e181b('0x2a')),_0x1e181b('0x2a'));_0x3fd401[_0x1e181b('0x19')](_0x52a5f0),_0x3fd401[_0x1e181b('0x15')](),_0x3fd401['on']('close',function(){_0x19257b(_0x6ac0fc);});}catch(_0x439482){fs[_0x1e181b('0xc')](_0x6ac0fc,_0x4adab8=>{_0x1fb3ef(_0x4adab8===null?_0x439482:_0x4adab8);});}});});}async function decryptFile(_0x550e60,_0x3fa3a5,_0x326a46,_0x27f19d={}){const _0x54dd55=_0x2912e0;_0x27f19d={...DEFAULT_FILE_OPTIONS,..._0x27f19d};const _0x1c6eed=Buffer[_0x54dd55('0x4')](_0x27f19d['separator'],_0x54dd55('0x1'))[_0x54dd55('0x1c')],_0x4b6b38=IVLEN_MAP[_0x27f19d['algorithm']],_0x42a88e=_0x4b6b38+_0x1c6eed,_0x46db22=await fs[_0x54dd55('0x14')][_0x54dd55('0x6')](_0x550e60,'r'),_0x76b452=Buffer['alloc'](_0x42a88e),{buffer:_0x262949}=await _0x46db22[_0x54dd55('0xa')](_0x76b452,0x0,_0x42a88e),_0x233c63=_0x262949[_0x54dd55('0x10')](0x0,_0x4b6b38),_0x49cb65=_0x262949[_0x54dd55('0x10')](_0x4b6b38),_0x1dad2d=_0x49cb65[_0x54dd55('0x21')](_0x54dd55('0x1')),_0x49f734=_0x233c63[_0x54dd55('0x21')](_0x54dd55('0xf')),_0x2f6355=_0x1dad2d===_0x27f19d['separator'];return new Promise(function(_0x5b6d3d,_0x375e3b){const _0x164aa9=_0x54dd55,_0x12bdc0=fs[_0x164aa9('0x27')](_0x550e60,{'start':_0x2f6355?_0x42a88e:0x0,'fd':_0x46db22,'autoClose':!![]}),_0x392832=fs[_0x164aa9('0x28')](_0x3fa3a5),_0x4cc805=getDecipher(_0x326a46,_0x27f19d[_0x164aa9('0x12')],_0x2f6355?_0x49f734:null);_0x12bdc0['on']('data',function(_0x316fb4){const _0xe065f1=_0x164aa9,_0x5683fe=Buffer[_0xe065f1('0x4')](_0x4cc805[_0xe065f1('0x2')](_0x316fb4),_0xe065f1('0x2a'));_0x392832[_0xe065f1('0x19')](_0x5683fe);}),_0x12bdc0['on'](_0x164aa9('0x3'),_0x21573e=>_0x375e3b(_0x21573e)),_0x12bdc0['on'](_0x164aa9('0x15'),function(){const _0xc6fc81=_0x164aa9;try{const _0x58c3b9=Buffer[_0xc6fc81('0x4')](_0x4cc805[_0xc6fc81('0x5')](_0xc6fc81('0x2a')),_0xc6fc81('0x2a'));_0x392832['write'](_0x58c3b9),_0x392832[_0xc6fc81('0x15')](),_0x392832['on'](_0xc6fc81('0xb'),function(){_0x5b6d3d(_0x3fa3a5);});}catch(_0x5e8d61){fs['unlink'](_0x3fa3a5,_0xee84d4=>{_0x375e3b(_0xee84d4===null?_0x5e8d61:_0xee84d4);});}});});}function encryptString(_0x537917,_0x5711c0=DEFAULT_STRING_OPTIONS[_0x2912e0('0x18')],_0x386366=DEFAULT_STRING_OPTIONS[_0x2912e0('0x12')],_0x4ad0ab=DEFAULT_STRING_OPTIONS['separator']){const _0x3c51e8=_0x2912e0;if(!_0x537917||_0x537917[_0x3c51e8('0x1c')]===0x0)return _0x537917;if(!_0x5711c0||_0x5711c0[_0x3c51e8('0x1c')]===0x0)throw new Error('you\x20must\x20pass\x20a\x20secret');const [_0x392217,_0x5e548a]=getCipherAndIvText(_0x5711c0,_0x386366);let _0x4823b7=_0x392217[_0x3c51e8('0x2')](_0x537917,_0x3c51e8('0xe'),_0x3c51e8('0xf'));return _0x4823b7+=_0x392217['final'](_0x3c51e8('0xf')),[_0x5e548a,_0x4823b7]['join'](_0x4ad0ab);}function decryptString(_0x99e30d,_0x44c283=DEFAULT_STRING_OPTIONS['secret'],_0x5dcf6a=DEFAULT_STRING_OPTIONS['algorithm'],_0x1a25d9=DEFAULT_STRING_OPTIONS[_0x2912e0('0x1f')]){const _0x26d513=_0x2912e0;if(!_0x99e30d||_0x99e30d[_0x26d513('0x1c')]===0x0)return _0x99e30d;if(!_0x44c283||_0x44c283[_0x26d513('0x1c')]===0x0)throw new Error(_0x26d513('0x1d'));const _0x57ae2e=_0x99e30d[_0x26d513('0x1a')](_0x1a25d9),_0xa5367c=_0x57ae2e[_0x26d513('0x1c')]===0x2,_0x3c7bc2=_0xa5367c?_0x57ae2e[0x1]:_0x99e30d,_0x423e3d=getDecipher(_0x44c283,_0x5dcf6a,_0xa5367c?_0x57ae2e[0x0]:undefined);let _0x2e9813=_0x423e3d['update'](_0x3c7bc2,_0x26d513('0xf'),_0x26d513('0xe'));return _0x2e9813+=_0x423e3d[_0x26d513('0x5')](_0x26d513('0xe')),_0x2e9813;}function getValueFromLicense(_0x3a6dea,_0x1eb95c){const _0x30ef73=_0x2912e0;if(_0x3a6dea&&_0x1eb95c){if(_0x1eb95c['data1']&&_0x1eb95c[_0x30ef73('0x24')]){const _0x4ce45f=_0x1eb95c['data1'],_0xdbfe77=_0x1eb95c[_0x30ef73('0x24')],_0x48b11b=_0x4ce45f['split']('-')[0x4],_0x53cde7=_0x4ce45f[_0x30ef73('0x1a')]('-')[0x0],_0x115f40=[_0x48b11b,_0x4ce45f,_0x53cde7][_0x30ef73('0x20')](':'),_0x1503bd=getDecipher(_0x115f40,_0x30ef73('0xd'));let _0x5344fe=_0x1503bd[_0x30ef73('0x2')](_0xdbfe77,_0x30ef73('0xf'),'utf8');_0x5344fe+=_0x1503bd[_0x30ef73('0x5')](_0x30ef73('0xe'));const _0x51f445=JSON['parse'](_0x5344fe);return typeof _0x51f445[_0x3a6dea]===_0x30ef73('0x0')?null:_0x51f445[_0x3a6dea];}}return null;}module['exports']={'encryptFile':encryptFile,'decryptFile':decryptFile,'encryptString':encryptString,'decryptString':decryptString,'getValueFromLicense':getValueFromLicense};
\ No newline at end of file