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: '673873881942593903689593078609904855810414084359278679019729706609747700218651590770168714113850942935051296097831726037572242503408450242069863358181844331409441783093536113979648752179081068619536785452937728702960730050501114005246863564338450670081122742638339954765869317911270913575506524255145770907133387584855023980766565449728132263178103937256115765495259576566123031685411422573140315111493053732085778924940559497594426363892607504521287747443640310595622627983187760626589127632556721071550301357594215578620202781718829605645286495343664329801363232675500232444737333393697045722409900274297219368414860027646549230367161206540078149736515165218496837726425777499757588411321800348904866702192474018482852529195350427206942077320034845828745959370443869529122891624025580611211667956307380690826518497424191460499382002423620438274606724910957001391329590035181527076399507468051303210108897173115312788876388241613471094918836062114614187119214189148719054882966144747601552984927325130162872742953952637797499658385752675446094480147179616049418786097267072141997016057129852994046036539004073982461138956100193190934307605813630613802034750575148246297028869694241444124085860191239335935067241018581665721384355056939140851921078313192123612911687511237684320205817771028117654039517988516992055097727813789911396940868581816573265305993937822221838540320270680870289862889483708558966094865898230841048756036241755728060830900883815243547178442857453989464943987107095041600857884930734252791115645433920389947570719552991637017675151803192449248025351208849538244823153051093352384373358301243437835294493591720870545379614202573106761002490266383829689992314965020504273874418716840476351358041593802406163858286908891694317399407210729613948365871066763271392937485007163312422223200689000705655019610737596398456975085438378961172916962261790247806829144083863832384764233242412432691710985782330659424940005797200687618939837994592996586190378672130448282987277112810738212583888910414395657985746053577605873356833890901827727849976405855337900852214761606948505499849857320632648044965394137228799699833268519585800588429658583397030761759633386448328372313121955446105150272236346648515105265214324538241714974720891952857056154183237776931007484132819642558073027070892304461049169946983733582906352550195818627107532108290581317811467054867729031447050856261486811828573541433794162142669676690780472478821510184390221778075946653613903', q: '336936940971296951844796539304952427905207042179639339509864853304873850109325795385084357056925471467525648048915863018786121251704225121034931679090922165704720891546768056989824376089540534309768392726468864351480365025250557002623431782169225335040561371319169977382934658955635456787753262127572885453566693792427511990383282724864066131589051968628057882747629788283061515842705711286570157555746526866042889462470279748797213181946303752260643873721820155297811313991593880313294563816278360535775150678797107789310101390859414802822643247671832164900681616337750116222368666696848522861204950137148609684207430013823274615183580603270039074868257582609248418863212888749878794205660900174452433351096237009241426264597675213603471038660017422914372979685221934764561445812012790305605833978153690345413259248712095730249691001211810219137303362455478500695664795017590763538199753734025651605054448586557656394438194120806735547459418031057307093559607094574359527441483072373800776492463662565081436371476976318898749829192876337723047240073589808024709393048633536070998508028564926497023018269502036991230569478050096595467153802906815306901017375287574123148514434847120722062042930095619667967533620509290832860692177528469570425960539156596061806455843755618842160102908885514058827019758994258496027548863906894955698470434290908286632652996968911110919270160135340435144931444741854279483047432949115420524378018120877864030415450441907621773589221428726994732471993553547520800428942465367126395557822716960194973785359776495818508837575901596224624012675604424769122411576525546676192186679150621718917647246795860435272689807101286553380501245133191914844996157482510252136937209358420238175679020796901203081929143454445847158699703605364806974182935533381635696468742503581656211111600344500352827509805368798199228487542719189480586458481130895123903414572041931916192382116621206216345855492891165329712470002898600343809469918997296498293095189336065224141493638556405369106291944455207197828992873026788802936678416945450913863924988202927668950426107380803474252749924928660316324022482697068614399849916634259792900294214829291698515380879816693224164186156560977723052575136118173324257552632607162269120857487360445976428528077091618888465503742066409821279036513535446152230524584973491866791453176275097909313553766054145290658905733527433864515723525428130743405914286770716897081071334838345390236239410755092195110889037973326806951'}