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: '733027396466224185105205750303664618481669538621613549975013163818133820948825705719108770508665642626999205897275839501806184342738988145679640827012432545384857783390398721541410074714632333262596631598992775852086888440409544577256771701771950373943565059721248059513734566064463169325237283214040534492493425152424021147400422715665102806076450390305691375679912919886051067176752478538544299348593347584911644755488679061419347428335495970710431508023586684111802893988751647758100786996026831437798996362490151104386043944618346568479635435167843332184533863689525373286752160133289641504767743430390644401461974282324788930026886374913917612249830840992526059176425863114031323719828300290569354027999228349181942634950914603018821918584472385996108480789129773760523768511142317810014232768604004061894465144737805632337889274332014083797481108981482352614026963870257838167623615737011201270909128091130686604087410846461396909302211678528678177489297416900549698640459653567874605136837491770006439954496686720752592755958843213224967456453035447268585688355417686781093705603413665186905394806843555441771410763599892051455812119885579273229258765084530149894368599047909072775198510924971359069181251187475344814804450686718410305197537244045093688187026003614294992346372427394272595965484277687725082802999218645549724448671937518903031151519126944156639329244366426406365783209179222538034570112483638241257620153637752207505546770310237573110385122565065243228403329089256474360612774056078287180305184610545926595849618046292639437012457419405060828688090428373518700833772391218542483337578606825577373351607156894161311902199696553850532604394052217348988488209691891834638661770829261235248878116633587453396562298984496743466146081996615542608839489209836541709823760534190679085101465602294534438877208167979238300495440042474030959838294883102799983243566703730202730865777670226041286509529516502360238852605357505250065516877085357789945221851393038095919523788362846356505614109004489411671573260969345349762622927817580271941355263541968114829082869117610162324287253177066978390452647227359191583194969935337464180209514745796443147195643572736104934381550864589863530206964391462642116679036170070465128194620926207415483846775627408487621134087767716599101496769329746321879158555866365232858347266166662522969367251857116343140204261749910392679289903360790430871381101793729592550560796395722616370994641088712688675251687126053870023', q: '366513698233112092552602875151832309240834769310806774987506581909066910474412852859554385254332821313499602948637919750903092171369494072839820413506216272692428891695199360770705037357316166631298315799496387926043444220204772288628385850885975186971782529860624029756867283032231584662618641607020267246246712576212010573700211357832551403038225195152845687839956459943025533588376239269272149674296673792455822377744339530709673714167747985355215754011793342055901446994375823879050393498013415718899498181245075552193021972309173284239817717583921666092266931844762686643376080066644820752383871715195322200730987141162394465013443187456958806124915420496263029588212931557015661859914150145284677013999614174590971317475457301509410959292236192998054240394564886880261884255571158905007116384302002030947232572368902816168944637166007041898740554490741176307013481935128919083811807868505600635454564045565343302043705423230698454651105839264339088744648708450274849320229826783937302568418745885003219977248343360376296377979421606612483728226517723634292844177708843390546852801706832593452697403421777720885705381799946025727906059942789636614629382542265074947184299523954536387599255462485679534590625593737672407402225343359205152598768622022546844093513001807147496173186213697136297982742138843862541401499609322774862224335968759451515575759563472078319664622183213203182891604589611269017285056241819120628810076818876103752773385155118786555192561282532621614201664544628237180306387028039143590152592305272963297924809023146319718506228709702530414344045214186759350416886195609271241668789303412788686675803578447080655951099848276925266302197026108674494244104845945917319330885414630617624439058316793726698281149492248371733073040998307771304419744604918270854911880267095339542550732801147267219438604083989619150247720021237015479919147441551399991621783351865101365432888835113020643254764758251180119426302678752625032758438542678894972610925696519047959761894181423178252807054502244705835786630484672674881311463908790135970677631770984057414541434558805081162143626588533489195226323613679595791597484967668732090104757372898221573597821786368052467190775432294931765103482195731321058339518085035232564097310463103707741923387813704243810567043883858299550748384664873160939579277933182616429173633083331261484683625928558171570102130874955196339644951680395215435690550896864796275280398197861308185497320544356344337625843563026935011'}