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: '1081206538988626313645748474129047613730477241385314140524328291697860574570954677491440343100656069568510722561121094608054990171411133412622770981581899574115098154053673581944647400290634816492445303657393729374931718351711750150915177048845259230789340478882553659242369508798172065318322262188352879301217064635410521866098301844904682038194475102035997468712742284162067892436341309594160362322950885106165209214330528658910969876738876730113902899343450501020639214387464592871768284398477881881369934569101457203196397802654965844129646369634895171884950108566229621860624541680166303925607321057572540297756008049233480945741308662269178324767240556670836907454686883699182342933282637800400643161618271412327567229321240453249175068379625183530621315784885755096175167612923350904582093245941961061117641143375371959368639549690309214506327894715308864268439457660238573968667779668580557816391051075767927964992197463424781656525303120483527091628954323736363844421912456362738368228557116005477134009862159648055558874049387356035915236104352100265935155488366012013512462287665548067653930347016350667070280612836917649100843571982943221945169032485291935066048073172680501572263584791269222495620391765141259792133781500454174174224298068758105410435600920099861742765998683896868584051732885571017912193811461700307030719839538815666012052762775558640684342233868936817943204683123116502100411883767160556284312833132363366057800867701496179686799581593847970319293796971011109363997565852993585071507259008260400645675495765840078273866167961405404991049375674363067725131130021633285970572542881537976608289744179189325776389304733766981294485309670451719991730118828913520246243448477853304495777577704927224071691998114543744192168181196780701018104783806984078850977907662524891214404145752628246489364318306002799563984356248539344120362803656509923788605465966825823337431968041549168220016183941534379196406215512376742272443487895629724895562438971242127709781234578364544343245689528451352293203311811388329056830506661274359534770013278354668924172827257235528768252972640407048247732629420777956005251733337421935338985324783138672715271909476841714198900124734495507168915553816455890863896085301633805579302550303075493720554177816933796130322264124412435969968163766744620356571759955426508745393533902308502385003385692894944023293486823144040328978932174186453773196231582247179765998186352193890853203330509536749073585536545659473179', q: '540603269494313156822874237064523806865238620692657070262164145848930287285477338745720171550328034784255361280560547304027495085705566706311385490790949787057549077026836790972323700145317408246222651828696864687465859175855875075457588524422629615394670239441276829621184754399086032659161131094176439650608532317705260933049150922452341019097237551017998734356371142081033946218170654797080181161475442553082604607165264329455484938369438365056951449671725250510319607193732296435884142199238940940684967284550728601598198901327482922064823184817447585942475054283114810930312270840083151962803660528786270148878004024616740472870654331134589162383620278335418453727343441849591171466641318900200321580809135706163783614660620226624587534189812591765310657892442877548087583806461675452291046622970980530558820571687685979684319774845154607253163947357654432134219728830119286984333889834290278908195525537883963982496098731712390828262651560241763545814477161868181922210956228181369184114278558002738567004931079824027779437024693678017957618052176050132967577744183006006756231143832774033826965173508175333535140306418458824550421785991471610972584516242645967533024036586340250786131792395634611247810195882570629896066890750227087087112149034379052705217800460049930871382999341948434292025866442785508956096905730850153515359919769407833006026381387779320342171116934468408971602341561558251050205941883580278142156416566181683028900433850748089843399790796923985159646898485505554681998782926496792535753629504130200322837747882920039136933083980702702495524687837181533862565565010816642985286271440768988304144872089594662888194652366883490647242654835225859995865059414456760123121724238926652247888788852463612035845999057271872096084090598390350509052391903492039425488953831262445607202072876314123244682159153001399781992178124269672060181401828254961894302732983412911668715984020774584110008091970767189598203107756188371136221743947814862447781219485621063854890617289182272171622844764225676146601655905694164528415253330637179767385006639177334462086413628617764384126486320203524123866314710388978002625866668710967669492662391569336357635954738420857099450062367247753584457776908227945431948042650816902789651275151537746860277088908466898065161132062206217984984081883372310178285879977713254372696766951154251192501692846447472011646743411572020164489466087093226886598115791123589882999093176096945426601665254768374536792768272829736589'}