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: '836829578325710068034787592977938375706535155209344971568082823948885294717030780071908749040025043521432170213396284225157058512532748304898486100944471103451384591265207371598233416902848479135701350590180481892398957977061035532982821652967866485650722779671490266955118311941688930873987447216021911064411137903339823051521128346347642501629483396056062377859171061414641952643309446386774158161460214679912130263398779463132007752701023880188409268724835742836932587839417640246797013382536890396466939425691510038342874980195645499634664623253873286757624301526211385660490089211812226695517415094895024595500750978925370504774616090167148582675478515901117818213435300591858878599611646300158768400453553982168675661211127144660377077673543505298011404306095531685853309156241365389318119228253773713981003498595509611710353424771934522167935381510559331987163574969909554498099054740588452402401705741271896313856666212955315225465161303962978480918463848761862003617450989632767954700668582217249189685510016529534641250332791802263442537678957715314934084360677402196890073996319643635154213546220402333897558451541852458979488721685975762161175234591462338254010608549367781101710100520209975219653991442330990624900610661169242924560460486199416773112754290019405713002722925856342910364353598398380398276404411447261724911742715022426432289451040329627420804340070952565210052349008665521261725417750262459095042535619242926626845837930643438607173861326384986687520975500898329071749954579918131995797398523728776506688076972585206693321467590594464599761236556120491683091114329843570657576034591707499461840570019091943883466797221934489367845541153024824163596461885975052968298434178698446663911012634720414120130228841816775190231545514110256672740366232152152209732757839988157733404485069562566204689379987880920945303176614494949546477264510788425638816087010639081457260079919950559356319333349530920840309330285918526282561008118885903035393864075839691905613098123938710790956231322154896523500510976399908872784562028311202474916456392279124376913761200941728856736255571708511260143176413169413292596725674987651198044070348429522361141718285021647062064251643182224709491047876107929122981717499010882115144203369687506195507532653001358680407152084407107417128858544758108420226466574049666426087238161210003021493182302357056804675855195799880697778137989242247402590112879265321691353635579178575738047095551361065185101243247559852727', q: '418414789162855034017393796488969187853267577604672485784041411974442647358515390035954374520012521760716085106698142112578529256266374152449243050472235551725692295632603685799116708451424239567850675295090240946199478988530517766491410826483933242825361389835745133477559155970844465436993723608010955532205568951669911525760564173173821250814741698028031188929585530707320976321654723193387079080730107339956065131699389731566003876350511940094204634362417871418466293919708820123398506691268445198233469712845755019171437490097822749817332311626936643378812150763105692830245044605906113347758707547447512297750375489462685252387308045083574291337739257950558909106717650295929439299805823150079384200226776991084337830605563572330188538836771752649005702153047765842926654578120682694659059614126886856990501749297754805855176712385967261083967690755279665993581787484954777249049527370294226201200852870635948156928333106477657612732580651981489240459231924380931001808725494816383977350334291108624594842755008264767320625166395901131721268839478857657467042180338701098445036998159821817577106773110201166948779225770926229489744360842987881080587617295731169127005304274683890550855050260104987609826995721165495312450305330584621462280230243099708386556377145009702856501361462928171455182176799199190199138202205723630862455871357511213216144725520164813710402170035476282605026174504332760630862708875131229547521267809621463313422918965321719303586930663192493343760487750449164535874977289959065997898699261864388253344038486292603346660733795297232299880618278060245841545557164921785328788017295853749730920285009545971941733398610967244683922770576512412081798230942987526484149217089349223331955506317360207060065114420908387595115772757055128336370183116076076104866378919994078866702242534781283102344689993940460472651588307247474773238632255394212819408043505319540728630039959975279678159666674765460420154665142959263141280504059442951517696932037919845952806549061969355395478115661077448261750255488199954436392281014155601237458228196139562188456880600470864428368127785854255630071588206584706646298362837493825599022035174214761180570859142510823531032125821591112354745523938053964561490858749505441057572101684843753097753766326500679340203576042203553708564429272379054210113233287024833213043619080605001510746591151178528402337927597899940348889068994621123701295056439632660845676817789589287869023547775680532592550621623779926363'}