UNPKG

basic_simple_elgamal

Version:

This is a cypher engine which uses ElGamal cryptosystem internally. besides cryptography, it provide some group functionality such as add 2 members or select a random group member and so on.

1 lines 4.96 kB
module.exports = { p: '750373347584721954672790320597546885426855589154999495072004693956800118624443711391234082874480234912860904552484498469184400292587222646353956516782004625718518476192548739089485227056004358863145115291589750548790937720375270476197217975363106922372733134352586756188401280647198849284449251299989849550567238690259267408816820289651115210865841253899165345451417229773932812298404877457372326666029063750630945160949599068564594055356916476464325366898573368555516417324141393414622730248997184623880492229329196604020142699535813922494298002837114674990595194893433059437144216598879115430219924204621370392297535814351285807001554660524225263692000118331231231584309301107271600391897366366750858435555744564726161917284273532763358878432418448155904027815374124340995031385097603740847611646354775479217432433383889256338779111580417640145349983768043829438718218356148226327312132533795515874248595725842634491196438187633329692562241731381444416052342288509222899669254305311947898279181952725310853068723633870396194858674793865353734459961155199604630812243944719422046042136490203988416744228071540418777976405737654396703513944665764532596645115892787809351903388584790554058941840375916459564989857056765515612248530433063464220493238709422155030027479005435868339116758997663928208300273457045043974470083434572153340426615494294773318718232416281897609640163013155034831843204852853888370803568254580499542559227789719408890702807148644328448445246232508837147412018349982636565022459235806206045215807557896127417461345946990279905557631581533344211231368570182026597843076372407122373943114802976370971044653376324257689538283822463851058975358033004780473065265200882360678176387347335515659229651455408361178587016627684210454800252719835670311583161632820042570781432064346599652454158593830995466686371519191233972095087396689613048691935108009643358947224004077831266958185972178695144484446723031387497471529141047051541832723874460764426769661641753853549311644989480333806454039096992502518422344768962601080959713454502326684288877682521417006141734454835761310275536473314141997501316883629190338697191148108156277126748515287238231269712697222985613695234838881235497966641027790234567535504813853966814847562158913029334971455510612100300199913398628587095141725967753908781424785932262077817986660103215291564234113441043174127984396717919680854711441431986486215609490320509016528934876422415214077476277904565780308536909230090847823', q: '375186673792360977336395160298773442713427794577499747536002346978400059312221855695617041437240117456430452276242249234592200146293611323176978258391002312859259238096274369544742613528002179431572557645794875274395468860187635238098608987681553461186366567176293378094200640323599424642224625649994924775283619345129633704408410144825557605432920626949582672725708614886966406149202438728686163333014531875315472580474799534282297027678458238232162683449286684277758208662070696707311365124498592311940246114664598302010071349767906961247149001418557337495297597446716529718572108299439557715109962102310685196148767907175642903500777330262112631846000059165615615792154650553635800195948683183375429217777872282363080958642136766381679439216209224077952013907687062170497515692548801870423805823177387739608716216691944628169389555790208820072674991884021914719359109178074113163656066266897757937124297862921317245598219093816664846281120865690722208026171144254611449834627152655973949139590976362655426534361816935198097429337396932676867229980577599802315406121972359711023021068245101994208372114035770209388988202868827198351756972332882266298322557946393904675951694292395277029470920187958229782494928528382757806124265216531732110246619354711077515013739502717934169558379498831964104150136728522521987235041717286076670213307747147386659359116208140948804820081506577517415921602426426944185401784127290249771279613894859704445351403574322164224222623116254418573706009174991318282511229617903103022607903778948063708730672973495139952778815790766672105615684285091013298921538186203561186971557401488185485522326688162128844769141911231925529487679016502390236532632600441180339088193673667757829614825727704180589293508313842105227400126359917835155791580816410021285390716032173299826227079296915497733343185759595616986047543698344806524345967554004821679473612002038915633479092986089347572242223361515693748735764570523525770916361937230382213384830820876926774655822494740166903227019548496251259211172384481300540479856727251163342144438841260708503070867227417880655137768236657070998750658441814595169348595574054078138563374257643619115634856348611492806847617419440617748983320513895117283767752406926983407423781079456514667485727755306050150099956699314293547570862983876954390712392966131038908993330051607645782117056720521587063992198358959840427355720715993243107804745160254508264467438211207607038738138952282890154268454615045423911'}