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
JavaScript
module.exports = { p: '947923928983223449438145952376299767671275813331705907291997110016879011735902331412932529729573509589779820080673039598379668346223943000110418936344273594301120484290669905133030179254867014446478879362276814632480434379201369593828467505952475289815546433960410883309357461062111141203256806994338992670559315990528840700255826489498001487863470013052381705873474600419528970166517607490826517251534693503876969512876478974095833955109429018830680058319083689356093928004420339814231182742960509705662534737432720237321692122677064279673657990774522751231587114289387749944123909070845695085661344863975177971993741530244672530883673497792770608555340778321510207037733668052414613644259323377451509525233776008355905451624747191591114062169379755031201841326867955895956290373500577282440865012213431200008990289816826251265835274378856845410118056379811609154645946719615812896346057978117877973771599378390959410123834242942893309362615589307859023587452160801304376195384586613076936593976492948660450207698256776994839736054725575591928232483754249656008820349683109818139212511441750290364854828087682092255721311419732527453902069992493491461739747119528426702959582852323108392984834295315595641888462221190474780893891896010410241816065521566878369436576949031390772523180835591894129163457571920595873313926319447471107357920575549061286951776197786631874555050266717454622092481301916539573295935192763242560470108650402719448453228298002056868686944950154008136652400221008012675568118075203012137209622409535083326094640588570560251247480170547778295816500399899452225768746574850563054184613444083939823596797113852781681344537964772082413178482443200193534653706348397577262785615427260139297874573128296486693206524293683622529787387587062680918161470512308131600884203926077655832959867225226792609871527680386994145796418865483483240250242376141334235482643600130460398984787299602259459268596186834722696447523403027355933739103410036055940446114673071388368240154310964966077099700905690981109253896885520297746723501342433344885170061614048412370641188769492000192732826866679815772710493677068356657776350102993111016525533583965856493550224152035204868284944338673791474303844688101335523143425866409311414311999209365880784201470980269753625063446047031749508159786069754293988705607673136967643408799616188215035981275401073544078477368360954765102547810066397595683861207119746421993211799503169308713236139093268956120033446750728442323', q: '473961964491611724719072976188149883835637906665852953645998555008439505867951165706466264864786754794889910040336519799189834173111971500055209468172136797150560242145334952566515089627433507223239439681138407316240217189600684796914233752976237644907773216980205441654678730531055570601628403497169496335279657995264420350127913244749000743931735006526190852936737300209764485083258803745413258625767346751938484756438239487047916977554714509415340029159541844678046964002210169907115591371480254852831267368716360118660846061338532139836828995387261375615793557144693874972061954535422847542830672431987588985996870765122336265441836748896385304277670389160755103518866834026207306822129661688725754762616888004177952725812373595795557031084689877515600920663433977947978145186750288641220432506106715600004495144908413125632917637189428422705059028189905804577322973359807906448173028989058938986885799689195479705061917121471446654681307794653929511793726080400652188097692293306538468296988246474330225103849128388497419868027362787795964116241877124828004410174841554909069606255720875145182427414043841046127860655709866263726951034996246745730869873559764213351479791426161554196492417147657797820944231110595237390446945948005205120908032760783439184718288474515695386261590417795947064581728785960297936656963159723735553678960287774530643475888098893315937277525133358727311046240650958269786647967596381621280235054325201359724226614149001028434343472475077004068326200110504006337784059037601506068604811204767541663047320294285280125623740085273889147908250199949726112884373287425281527092306722041969911798398556926390840672268982386041206589241221600096767326853174198788631392807713630069648937286564148243346603262146841811264893693793531340459080735256154065800442101963038827916479933612613396304935763840193497072898209432741741620125121188070667117741321800065230199492393649801129729634298093417361348223761701513677966869551705018027970223057336535694184120077155482483038549850452845490554626948442760148873361750671216672442585030807024206185320594384746000096366413433339907886355246838534178328888175051496555508262766791982928246775112076017602434142472169336895737151922344050667761571712933204655707155999604682940392100735490134876812531723023515874754079893034877146994352803836568483821704399808094107517990637700536772039238684180477382551273905033198797841930603559873210996605899751584654356618069546634478060016723375364221161'}