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
JavaScript
module.exports = { p: '845211247450734021463235747090197689241627766681732137359326180706699538413369899919502594717783811573214216484023026050001221177680106906332791006537453949719450173288841273239120331004129524149462866186921624946707174185870260183688362154980889943115822759041311310884153807483292285490449173470220326267375029213228970854026334064952386418004829262144256842331759697808724129411612409101333109862721644793689770273026828247815170392640082766463032159717439938873225568797778527235192592027446374793985587190696848674534233834169907251031796662315628259888928484169067409798460140342449205920917522122632186578143659749823895004287846952151578436603391118627720439945851014089958290265066013010359203123273592567774258514974779001596258524656094810285496176791068560270757218489145131874597971900795140504207132922959159916277390026371339619747520467938677152021705958779572940327991421096774469154216376611041789239188191173413967233251084822676590113214163873971300471497323594828622283499184950943928229124783047733559473452293600155802851286550746625300443678031778470320934829862290502510474293985847845492911761370052986585515882987967108236269450585481081901046317370997582963681922774501412255666241423799979061550404760618369576916747960050605346435823249676969972667333089337346313902427944732862769981302006532466793867459551965683608767888179317474201806023608109215286271873568819950442137275513434320814880446502123619280301660600039971259834551823608174935399027153141543641418118356618251418042756825033119076392464629421809155373741002376819401518544407578526731097912652444406893311439056416660658564032360366928883888999287072673253783389936591045269119125182743557517565700519506478346093623058911145281902436345885841903866692452153322402161055831608852241642765281161008912526893307398970573170599708793101206552934982765765453800616010336493313278335585601296975642469207723862320560530823445839112377873570664590016229012248738731183921651236739442622048025328813875407317487707831031243188014205677257580652720667645443030498842623250023528004678512501879499941433477894388601836825686392065565031240464229629720941651042528607188070451345165311000459961049123956614598765455553625102637390908663078276948753192017177857421061864645657944927534135119406479734333128649782096165093274799921466344344802652036980558965389813380552782860316393131926823951127448246503141367971055305080370609688357738072418840025275143680739599773198154971347', q: '422605623725367010731617873545098844620813883340866068679663090353349769206684949959751297358891905786607108242011513025000610588840053453166395503268726974859725086644420636619560165502064762074731433093460812473353587092935130091844181077490444971557911379520655655442076903741646142745224586735110163133687514606614485427013167032476193209002414631072128421165879848904362064705806204550666554931360822396844885136513414123907585196320041383231516079858719969436612784398889263617596296013723187396992793595348424337267116917084953625515898331157814129944464242084533704899230070171224602960458761061316093289071829874911947502143923476075789218301695559313860219972925507044979145132533006505179601561636796283887129257487389500798129262328047405142748088395534280135378609244572565937298985950397570252103566461479579958138695013185669809873760233969338576010852979389786470163995710548387234577108188305520894619594095586706983616625542411338295056607081936985650235748661797414311141749592475471964114562391523866779736726146800077901425643275373312650221839015889235160467414931145251255237146992923922746455880685026493292757941493983554118134725292740540950523158685498791481840961387250706127833120711899989530775202380309184788458373980025302673217911624838484986333666544668673156951213972366431384990651003266233396933729775982841804383944089658737100903011804054607643135936784409975221068637756717160407440223251061809640150830300019985629917275911804087467699513576570771820709059178309125709021378412516559538196232314710904577686870501188409700759272203789263365548956326222203446655719528208330329282016180183464441944499643536336626891694968295522634559562591371778758782850259753239173046811529455572640951218172942920951933346226076661201080527915804426120821382640580504456263446653699485286585299854396550603276467491382882726900308005168246656639167792800648487821234603861931160280265411722919556188936785332295008114506124369365591960825618369721311024012664406937703658743853915515621594007102838628790326360333822721515249421311625011764002339256250939749970716738947194300918412843196032782515620232114814860470825521264303594035225672582655500229980524561978307299382727776812551318695454331539138474376596008588928710530932322828972463767067559703239867166564324891048082546637399960733172172401326018490279482694906690276391430158196565963411975563724123251570683985527652540185304844178869036209420012637571840369799886599077485673'}