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: '862168253650993937908398407030943240529964054649014791463768598234636542430130466560035067460747913993045992500386682571799075734501980417428923148874566618491047701240429920745526212579209971155476326230163261627249196230937039831642149309150499281060420164771832198515282361647249359226908615565916078166154643936386928345407817556635807301290904879363325037983320666844062329846700023535095079226458156258773941634228460196301715011355895590071177166540948024821328535169702832076367506310333231132971104735776184621236241880742970830144552506730641370786996772080883661132672446066914794160911511524286524695012339518719381751276178716082384217132325413859218694247452317685176232441850939168060370989576820084789986049995205742270464136294541194865325890646704533287608117008855382858426279534348360668549550309347413428281346334456217002232590072477371738982176634271189074030111912671589668335841140304093587895990143584485578827245543703135928178794118652462676639970670367888792655848062489421422281178352223611520385831014285568661180622333959314066032190188565466694301354472898856524166971301054938019692686291996807116110522048783988662789190077749093183369377034103354981807019605357424104133516641398463742783039167023818144702258177493375306641809884639942879595155277938160641350485124534889939610681111606080864037384472250045094679729013570409534724965989019932908657042915459163188449289635080080364064267474597644231159689041212634098407413344754964323611447673991748641478386161047517799231892020652443146508361760714317680750775895511976776556675075437246227479393470755709300412170686155514210628516485672042784169397818531566535980854014016512389757851351967386574262825912403782136480135845276624354286009525346289406256790235692813667722358281441291428432317033806427712939323673663632597629798595121263840443568402469324345123544746828549980887172021691506176487468860116925094532491036250252140103597479849393384924062982427927663770932634428048276391318947094381862409645421308572829572937623008211386346675883635071122027936488397539449584542010493957875516658229039724587231044338790784461823610970951628142739219585820020843188393866818172246325174211240922822254918392158358594553600613453133394374259454675235390726688723159289099049809569734263244993017955693371176534204649314217967990691010159407146650687011032991434032889461558226141889054148305698586525032282722775570431189439219437051502833135353821867917772818371806794439', q: '431084126825496968954199203515471620264982027324507395731884299117318271215065233280017533730373956996522996250193341285899537867250990208714461574437283309245523850620214960372763106289604985577738163115081630813624598115468519915821074654575249640530210082385916099257641180823624679613454307782958039083077321968193464172703908778317903650645452439681662518991660333422031164923350011767547539613229078129386970817114230098150857505677947795035588583270474012410664267584851416038183753155166615566485552367888092310618120940371485415072276253365320685393498386040441830566336223033457397080455755762143262347506169759359690875638089358041192108566162706929609347123726158842588116220925469584030185494788410042394993024997602871135232068147270597432662945323352266643804058504427691429213139767174180334274775154673706714140673167228108501116295036238685869491088317135594537015055956335794834167920570152046793947995071792242789413622771851567964089397059326231338319985335183944396327924031244710711140589176111805760192915507142784330590311166979657033016095094282733347150677236449428262083485650527469009846343145998403558055261024391994331394595038874546591684688517051677490903509802678712052066758320699231871391519583511909072351129088746687653320904942319971439797577638969080320675242562267444969805340555803040432018692236125022547339864506785204767362482994509966454328521457729581594224644817540040182032133737298822115579844520606317049203706672377482161805723836995874320739193080523758899615946010326221573254180880357158840375387947755988388278337537718623113739696735377854650206085343077757105314258242836021392084698909265783267990427007008256194878925675983693287131412956201891068240067922638312177143004762673144703128395117846406833861179140720645714216158516903213856469661836831816298814899297560631920221784201234662172561772373414274990443586010845753088243734430058462547266245518125126070051798739924696692462031491213963831885466317214024138195659473547190931204822710654286414786468811504105693173337941817535561013968244198769724792271005246978937758329114519862293615522169395392230911805485475814071369609792910010421594196933409086123162587105620461411127459196079179297276800306726566697187129727337617695363344361579644549524904784867131622496508977846685588267102324657108983995345505079703573325343505516495717016444730779113070944527074152849293262516141361387785215594719609718525751416567676910933958886409185903397219'}