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: '834144310619519223276947187692729487858906880026071304740476453003576210799109633305899089588019544020507294489192871085419417628497566753014718626624379952029847539640887398346415019553781576045687073353996926786805056566389039873697928784608139402640168927716654409156911566305199138170943815899960172021527923156028270901370759914121905946642194095459336144979400260977407034087272157018753372799990734055757267788693233077578234711698234353231642026846978778357987836508680136025854010219450776320923961526519901346985721614417131809085095742090838624138972143550396593728030074198721338054093403406219641111624089051666694022978456607794319197131403976920625871232782064486214830754430985659185223595396317503653732503324802660292725723737588066320457267784367280905527156354461497636726257661742046856309568313284175414414930817194966617107570433309084062532572418270340065169094925488570992456556859437969823508745049429073954326805029842067975528017237184123292769993558705043958773463635036821249606309504670260161411078450390447342572831815894027457802925005715087543514019372279857115207811634178729047868590924845535696402470252606893902486859119748112933265300382935295876214699131732333753392139343566233026756108023118977627428365130653672697359109504547163580414659188830915296645285938515982128980324060735003213694952805396994220094344953789315346923766217817096974325476454220034762201624417972445362762131238602966567853065278681673591573435008114270247527851017025990351035398207147728696779607364311579094291085933240278971160719777359350801303817005232209105930295142785412018530176707601458090857838458789241413346491762689516050515926272980944550705826411212512226390037126298428137571561089619482142965989514517340710148550840270805852165346748257386840411412322950366985308045890162381381414253276048775669841330457761360366720292003927541346297069773076529765173141276049790141217742476536900680648359152848752155543964583494199515927238669137163294449045359211718527622848760076656688969291895021288714929300057760385562054317186058831043570456425914547473656818521497610409560286869999750954513750188166271768589261653997197353990304265353252064789826249695520498093011400874462914122059911505520164963733224331844233481647897587214752059124847578576555914211832697520678903733652122567334724728542820818162861314579753256173221385907771700017053333900070224964476853367605545452435273189045884463589064440652649469760646155546237277483', q: '417072155309759611638473593846364743929453440013035652370238226501788105399554816652949544794009772010253647244596435542709708814248783376507359313312189976014923769820443699173207509776890788022843536676998463393402528283194519936848964392304069701320084463858327204578455783152599569085471907949980086010763961578014135450685379957060952973321097047729668072489700130488703517043636078509376686399995367027878633894346616538789117355849117176615821013423489389178993918254340068012927005109725388160461980763259950673492860807208565904542547871045419312069486071775198296864015037099360669027046701703109820555812044525833347011489228303897159598565701988460312935616391032243107415377215492829592611797698158751826866251662401330146362861868794033160228633892183640452763578177230748818363128830871023428154784156642087707207465408597483308553785216654542031266286209135170032584547462744285496228278429718984911754372524714536977163402514921033987764008618592061646384996779352521979386731817518410624803154752335130080705539225195223671286415907947013728901462502857543771757009686139928557603905817089364523934295462422767848201235126303446951243429559874056466632650191467647938107349565866166876696069671783116513378054011559488813714182565326836348679554752273581790207329594415457648322642969257991064490162030367501606847476402698497110047172476894657673461883108908548487162738227110017381100812208986222681381065619301483283926532639340836795786717504057135123763925508512995175517699103573864348389803682155789547145542966620139485580359888679675400651908502616104552965147571392706009265088353800729045428919229394620706673245881344758025257963136490472275352913205606256113195018563149214068785780544809741071482994757258670355074275420135402926082673374128693420205706161475183492654022945081190690707126638024387834920665228880680183360146001963770673148534886538264882586570638024895070608871238268450340324179576424376077771982291747099757963619334568581647224522679605859263811424380038328344484645947510644357464650028880192781027158593029415521785228212957273736828409260748805204780143434999875477256875094083135884294630826998598676995152132676626032394913124847760249046505700437231457061029955752760082481866612165922116740823948793607376029562423789288277957105916348760339451866826061283667362364271410409081430657289876628086610692953885850008526666950035112482238426683802772726217636594522942231794532220326324734880323077773118638741'}