UNPKG

superchats

Version:

SuperChats is a premium library with unique features that control Whatsapp functions. With Superchats you can build service bots, multiservice chats or any system that uses whatsapp

1 lines 1.77 kB
function a32_0x27cb(){const _0xd298ca=['1782OdQqPv','crypto','35070OYAiul','generateSenderSigningKey','138770UcdMXc','1850fvLoPY','3641492NEOhEO','72csPxHB','2482445pXHgkL','generateKeyPair','706792HeitIG','625xACcsc','1150947LMatzA','randomInt','generateSenderKey','randomBytes','pubKey','generateSenderKeyId','privKey'];a32_0x27cb=function(){return _0xd298ca;};return a32_0x27cb();}function a32_0x2141(_0x5477ce,_0x2e26c4){const _0x27cbcd=a32_0x27cb();return a32_0x2141=function(_0x21419e,_0x34e4c1){_0x21419e=_0x21419e-0x114;let _0x14a5cf=_0x27cbcd[_0x21419e];return _0x14a5cf;},a32_0x2141(_0x5477ce,_0x2e26c4);}const a32_0xe31024=a32_0x2141;(function(_0x49a594,_0xa3abba){const _0xf8ec3b=a32_0x2141,_0x2b2d11=_0x49a594();while(!![]){try{const _0x5e5829=-parseInt(_0xf8ec3b(0x11d))/0x1*(parseInt(_0xf8ec3b(0x117))/0x2)+parseInt(_0xf8ec3b(0x11e))/0x3+parseInt(_0xf8ec3b(0x118))/0x4+parseInt(_0xf8ec3b(0x116))/0x5*(parseInt(_0xf8ec3b(0x119))/0x6)+parseInt(_0xf8ec3b(0x11a))/0x7+parseInt(_0xf8ec3b(0x11c))/0x8+-parseInt(_0xf8ec3b(0x125))/0x9*(parseInt(_0xf8ec3b(0x114))/0xa);if(_0x5e5829===_0xa3abba)break;else _0x2b2d11['push'](_0x2b2d11['shift']());}catch(_0x52bfe3){_0x2b2d11['push'](_0x2b2d11['shift']());}}}(a32_0x27cb,0xc2b67));const curve=require('super-libsignal/src/curve'),nodeCrypto=require(a32_0xe31024(0x126));exports[a32_0xe31024(0x120)]=function(){const _0x11fca4=a32_0xe31024;return nodeCrypto[_0x11fca4(0x121)](0x20);},exports[a32_0xe31024(0x123)]=function(){const _0x117352=a32_0xe31024;return nodeCrypto[_0x117352(0x11f)](0x7fffffff);},exports[a32_0xe31024(0x115)]=function(_0x2159a3){const _0x57ace9=a32_0xe31024;return!_0x2159a3&&(_0x2159a3=curve[_0x57ace9(0x11b)]()),{'public':_0x2159a3[_0x57ace9(0x122)],'private':_0x2159a3[_0x57ace9(0x124)]};};