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: '919016006762925607509556427126142433855244886375675673718616722852778966787282219931844558740060690677036755451431657213963436672640878382572975678782873566456630210247837389968255345447837164747260171001484409126767763439480225063331502696551901184404100691137543013457254170072599309520177734716148569229116296018796724970405756382228600180240488017748034867582996560876038221732790678994537544086566578261405968699405194215702510723977584626435346182926717343953710923720052507914403602747241257339152323502529509130174215261869415049514256866560393266746895087357462665616846390218008735596065898875160319832949893956710164922650920509778684118234123036641361326243028319853926634685559069639927298564382098433984381776535471392509244593698777161371686468320338908196135017434540224722888003410745681713169480686481160534550145292969921041676938318142271613387085420291595989466161767419269688634185829730189891972794941684964031984520391623530771431943809763102153136653268427336018820862914454484918578355714378115661316368846291358522726807475830475959901249132078850882224541560508353555488054449502737407207326991946781096856791197816709366963829033710325285603790447782237469609384468531097909341006193685433811005465460858021252165298968647489039889975146164909042371989990200708414411620635686842439282634472977362137170897038577500791984251651340726949792164956609272437178310698552938736987127595292845210542166615607092918102654736561658323417215266624686124137674976354723018956323483874282170662213438763158958890201196114614805407051723762743992334935057947519380632008311919386501016071263481490086649772575212370185015720851489803604359548425619432881405239664005246318356214743826796544428887580423154696567896118817991044133550069315389804211438774220812072106716923100244671048569248231532497805831043729385712073753815695073658289455505645306027850532629711019142417334833961507263549341374181376573307086816203820836734469415170292555023068634958404395278982011145767214722458871054565547804510190459027192187685911546163848647228765829612109091352393080657376834512371492558423435003447053665189684750185627324189086370579388556418935335154723611398530580141163963528930863092624896806988754796987234886410924288372120303780912763567511868690854341881723993486251607297015445152184963692029470903299222151226909419500697214319843523584378118297208604005347618209042338507362954405781561774095541046022258251785727235050069969316865148287427', q: '459508003381462803754778213563071216927622443187837836859308361426389483393641109965922279370030345338518377725715828606981718336320439191286487839391436783228315105123918694984127672723918582373630085500742204563383881719740112531665751348275950592202050345568771506728627085036299654760088867358074284614558148009398362485202878191114300090120244008874017433791498280438019110866395339497268772043283289130702984349702597107851255361988792313217673091463358671976855461860026253957201801373620628669576161751264754565087107630934707524757128433280196633373447543678731332808423195109004367798032949437580159916474946978355082461325460254889342059117061518320680663121514159926963317342779534819963649282191049216992190888267735696254622296849388580685843234160169454098067508717270112361444001705372840856584740343240580267275072646484960520838469159071135806693542710145797994733080883709634844317092914865094945986397470842482015992260195811765385715971904881551076568326634213668009410431457227242459289177857189057830658184423145679261363403737915237979950624566039425441112270780254176777744027224751368703603663495973390548428395598908354683481914516855162642801895223891118734804692234265548954670503096842716905502732730429010626082649484323744519944987573082454521185994995100354207205810317843421219641317236488681068585448519288750395992125825670363474896082478304636218589155349276469368493563797646422605271083307803546459051327368280829161708607633312343062068837488177361509478161741937141085331106719381579479445100598057307402703525861881371996167467528973759690316004155959693250508035631740745043324886287606185092507860425744901802179774212809716440702619832002623159178107371913398272214443790211577348283948059408995522066775034657694902105719387110406036053358461550122335524284624115766248902915521864692856036876907847536829144727752822653013925266314855509571208667416980753631774670687090688286653543408101910418367234707585146277511534317479202197639491005572883607361229435527282773902255095229513596093842955773081924323614382914806054545676196540328688417256185746279211717501723526832594842375092813662094543185289694278209467667577361805699265290070581981764465431546312448403494377398493617443205462144186060151890456381783755934345427170940861996743125803648507722576092481846014735451649611075613454709750348607159921761792189059148604302002673809104521169253681477202890780887047770523011129125892863617525034984658432574143713'}