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: '729464713928050647474521962460993911091390608535215137876516022979501099519096614407796620500552868038359803493631775526023902872015244326018401394401018301281252249713292775685257519896277589756839082486031788266794791943785372708366726768647252792952203521850572776538666339366280921749251401246618388995641885610779701905741658642039098740352720069105380739776744133086621460731529338375456274008336322673855591535814788660610520353031305386840607650060717477059969859184005750044748023009877892522271139128647161903237452121464761782290687384320708707138351713301321944687090535691799695044310920389547009556028784799570544835586808185893411348658916700992336216571893655738146129063671628751693158134420239288159473420732277783955281416866202252957916106561832300030562633311148692739606883863879850784970313830385750410296778843593120057963757613828343283288876122959760409838301120334552464419578774954417544778616381657159817554398058214595164840100264655919268832026002059964216961846998441736748174925262297956479046401367204252148487589273978456084660375406044354879021416940059291527400551166260973218192409738101063655461279719356999148708388352012107665893666588700392568494165830719113966685784409986063229336599508942371561985424665048871834554377963419874735963648320982697091880907062482507671868951225967230502474015832847397187216960036188513029827861998564939102057088016367227862359872075723976053924874561730019273907373189998523895406809016496013370345847136777071941726550575683440111790313805543578750511690709725477478782959131042367255097471558685505978139370984424332722967882671564361944022893699985931654600607531149868797535260784589544227482414616503437240642747886368775632304996354368875231661705925094842577401128183801652131177745575809376003005995872811826412694979342054291052283549401638969258729294988045866946001675817187322023162252166441139310286386492406657249182129188411344432045654153367384417178407024930170735225583892015670172445356677959697767802003892737619873811799925800586872404794395968459051153932220283118482885625330377052922237408629986964562990455341129326825806797248095371084616278050792457820607025908950623295355114210655061972958707722788446204721566254133746066221163076342656352900031279233244244719294440497147023932302075913576960894214363528012687226551566667447665228937350073619005721667427368934847127665772738080117513646816482218776444661851092263880465392547914033361046191328815406719663', q: '364732356964025323737260981230496955545695304267607568938258011489750549759548307203898310250276434019179901746815887763011951436007622163009200697200509150640626124856646387842628759948138794878419541243015894133397395971892686354183363384323626396476101760925286388269333169683140460874625700623309194497820942805389850952870829321019549370176360034552690369888372066543310730365764669187728137004168161336927795767907394330305260176515652693420303825030358738529984929592002875022374011504938946261135569564323580951618726060732380891145343692160354353569175856650660972343545267845899847522155460194773504778014392399785272417793404092946705674329458350496168108285946827869073064531835814375846579067210119644079736710366138891977640708433101126478958053280916150015281316655574346369803441931939925392485156915192875205148389421796560028981878806914171641644438061479880204919150560167276232209789387477208772389308190828579908777199029107297582420050132327959634416013001029982108480923499220868374087462631148978239523200683602126074243794636989228042330187703022177439510708470029645763700275583130486609096204869050531827730639859678499574354194176006053832946833294350196284247082915359556983342892204993031614668299754471185780992712332524435917277188981709937367981824160491348545940453531241253835934475612983615251237007916423698593608480018094256514913930999282469551028544008183613931179936037861988026962437280865009636953686594999261947703404508248006685172923568388535970863275287841720055895156902771789375255845354862738739391479565521183627548735779342752989069685492212166361483941335782180972011446849992965827300303765574934398767630392294772113741207308251718620321373943184387816152498177184437615830852962547421288700564091900826065588872787904688001502997936405913206347489671027145526141774700819484629364647494022933473000837908593661011581126083220569655143193246203328624591064594205672216022827076683692208589203512465085367612791946007835086222678338979848883901001946368809936905899962900293436202397197984229525576966110141559241442812665188526461118704314993482281495227670564663412903398624047685542308139025396228910303512954475311647677557105327530986479353861394223102360783127066873033110581538171328176450015639616622122359647220248573511966151037956788480447107181764006343613275783333723832614468675036809502860833713684467423563832886369040058756823408241109388222330925546131940232696273957016680523095664407703359831'}