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: '778016382439116172366938523599979076889065611162420225276286723877427573897194978343850069561960810103163138702172475327659335919648945377143350506041216495762033849808656447268771002588123009899075253848488933156786053345805471491884469023124778156915304735571908197241895590446174726055995585575440184688725323202311681814650676263978711115823253979397546581807932620141483600129245047210868274520008722910218315133317860242066036429132562551438445432506155754341521446387401689300933807786925915202285290947483846569635006438998115251454450198927406296751548587571419022385841365943425532358136800713080614578829010176639585271370833962067408662368777616279114765797517001524595746187896172159988901558788025067688578250297945582546726927465964724234872061597712853788710522459439381941617435028237871935836876315055114614569367039117239305056205668523682355455784249304390040035253176900118886243114312592295459645528637634021422169374864459529527107086286183206205820364540745374904511429840361279651932650839940996187643870767976032465698809699309495688532309119315904249228139540620172265493433805457908305466871802779493289565484828097795539442963423173749752227657098792709885935483727711069852799232078924992892041158055935713731662352073346566614293199701501563033736434089980694459295722303809543466359299119029704420878370602978000442639942980580289350486976783068435505850045078970068091143766358265299564311008237039050226789407355272618075939050673580169435382286326502798420719172451800971282281227529745646673831130114761079585311155347561073524842584753840000256876951477586641319246437271661399895103970722280949385960597009100995601179456378931338487684596234259386051018511544013316621765300728725172656987738987056884360106776996375304521685153023071429650436592934811256821752313733373538142536563215822413834448744974132588293572158930003809479314073026514353758098982362177814860274297578956321134968379909601550348820105628842391442533095193269281384377007467860982002778507230838972825344349588898616390563557527147474839561571649964260392618209566808326356685531028062882189131110587665226569096630245100636111162787795998647648954719050401067351176336223957709488763866330295896882817687884565875190539524015382085223174451605002783742393390743416291035203547794760596344784278733497317507504456051065941500232051511342868534953969144505164082008236725446124941908021479828793482553908501226416925870556015525522793665143830000751372387', q: '389008191219558086183469261799989538444532805581210112638143361938713786948597489171925034780980405051581569351086237663829667959824472688571675253020608247881016924904328223634385501294061504949537626924244466578393026672902735745942234511562389078457652367785954098620947795223087363027997792787720092344362661601155840907325338131989355557911626989698773290903966310070741800064622523605434137260004361455109157566658930121033018214566281275719222716253077877170760723193700844650466903893462957601142645473741923284817503219499057625727225099463703148375774293785709511192920682971712766179068400356540307289414505088319792635685416981033704331184388808139557382898758500762297873093948086079994450779394012533844289125148972791273363463732982362117436030798856426894355261229719690970808717514118935967918438157527557307284683519558619652528102834261841177727892124652195020017626588450059443121557156296147729822764318817010711084687432229764763553543143091603102910182270372687452255714920180639825966325419970498093821935383988016232849404849654747844266154559657952124614069770310086132746716902728954152733435901389746644782742414048897769721481711586874876113828549396354942967741863855534926399616039462496446020579027967856865831176036673283307146599850750781516868217044990347229647861151904771733179649559514852210439185301489000221319971490290144675243488391534217752925022539485034045571883179132649782155504118519525113394703677636309037969525336790084717691143163251399210359586225900485641140613764872823336915565057380539792655577673780536762421292376920000128438475738793320659623218635830699947551985361140474692980298504550497800589728189465669243842298117129693025509255772006658310882650364362586328493869493528442180053388498187652260842576511535714825218296467405628410876156866686769071268281607911206917224372487066294146786079465001904739657036513257176879049491181088907430137148789478160567484189954800775174410052814421195721266547596634640692188503733930491001389253615419486412672174794449308195281778763573737419780785824982130196309104783404163178342765514031441094565555293832613284548315122550318055581393897999323824477359525200533675588168111978854744381933165147948441408843942282937595269762007691042611587225802501391871196695371708145517601773897380298172392139366748658753752228025532970750116025755671434267476984572252582041004118362723062470954010739914396741276954250613208462935278007762761396832571915000375686193'}