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: '990613900560348211203067367043899114449375210748942836411521450639332277793859353651358584171205464105425174775482221235707272118226169134327178250307701268191481177303951089281855098326543943473641292118218760553854071671639065377293188607759276214222551528734651862407420435703049976699058231162545671671583967427316043231391147497197251564736094438250736797255070933982602399551932748842078701714422456380261054211353516337480675853222571249358935805013199598110954059007006493720172230639679592181034476613796689340639765368639092007154842332536081718599158318570311857762474115056322580221547685714912616142087103857027063486804479463372966724666052377786125253812158944167221514719646238793875833096723613734953868352117598487842581357794198243218866226627852856380261946034641215261405487985684638911181080141170764726589067837104055733470554459955477872001845343499936271482443636845482803825427361792012333378895206282029254946070731518189794611915430896271863169069080823506748999617953679719882149734802384336108985773584604812270173819803356811185820778755784268532376909728877287943682430296817467739685909314473483519529099200743427269815436452945723899861942973996214383464047596308457850574613568939629613544687927829659955215087800926470352098799093685962494109820550811272211068805908290074771419338288634110449774451829890463609250945564983077371989578875344902658656851054011262941651164409870339355357432019185704173891522337927575045173598945518260709138644665407345495855866898382252935155785117653790046130166434030520533029029612750062148677191484087576143321479889850399317601570115476929077377566887205670654396819731920049953597693906459380273518535682527977710228621935053428276561697299892787020635652909430485711766660243139561387747642325650066667710786498481323952240513952693103091531030059145197046261280400236928783291656279482375380476069385701947373527668026056150740041878445111261147968982579242026978980869351452386727903776510120510112039840996538757532192348375958586321199832788100305566721325738390300323046387107035054857255221255724661635173582032294857088681869799078727113224881344066813054263215555745231044116529555154816460023093092776903624276617732126491256696283063068327041577681347465039436663298094638563023534222343044265637274427920260349439816819685356230017700294584923309657702270749584425431542551570745037673638428696608064546149827211796937806029841420091872337149165018645463407314315214273330816647', q: '495306950280174105601533683521949557224687605374471418205760725319666138896929676825679292085602732052712587387741110617853636059113084567163589125153850634095740588651975544640927549163271971736820646059109380276927035835819532688646594303879638107111275764367325931203710217851524988349529115581272835835791983713658021615695573748598625782368047219125368398627535466991301199775966374421039350857211228190130527105676758168740337926611285624679467902506599799055477029503503246860086115319839796090517238306898344670319882684319546003577421166268040859299579159285155928881237057528161290110773842857456308071043551928513531743402239731686483362333026188893062626906079472083610757359823119396937916548361806867476934176058799243921290678897099121609433113313926428190130973017320607630702743992842319455590540070585382363294533918552027866735277229977738936000922671749968135741221818422741401912713680896006166689447603141014627473035365759094897305957715448135931584534540411753374499808976839859941074867401192168054492886792302406135086909901678405592910389377892134266188454864438643971841215148408733869842954657236741759764549600371713634907718226472861949930971486998107191732023798154228925287306784469814806772343963914829977607543900463235176049399546842981247054910275405636105534402954145037385709669144317055224887225914945231804625472782491538685994789437672451329328425527005631470825582204935169677678716009592852086945761168963787522586799472759130354569322332703672747927933449191126467577892558826895023065083217015260266514514806375031074338595742043788071660739944925199658800785057738464538688783443602835327198409865960024976798846953229690136759267841263988855114310967526714138280848649946393510317826454715242855883330121569780693873821162825033333855393249240661976120256976346551545765515029572598523130640200118464391645828139741187690238034692850973686763834013028075370020939222555630573984491289621013489490434675726193363951888255060255056019920498269378766096174187979293160599916394050152783360662869195150161523193553517527428627610627862330817586791016147428544340934899539363556612440672033406527131607777872615522058264777577408230011546546388451812138308866063245628348141531534163520788840673732519718331649047319281511767111171522132818637213960130174719908409842678115008850147292461654828851135374792212715771275785372518836819214348304032273074913605898468903014920710045936168574582509322731703657157607136665408323'}