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: '1039386808644599898436923523685617860780282606209781466192911023167770183399076531137231649711829862789489339477943410716695022079974342444482115404768820404789417958506095308192094940660730910232330654044112819465709407261067527364343859850939275673983051968222451906046146686554234106667173619294023603780264882014276766991430127362212751033289185684201170408917759739449546441480672626355237067687024169178476504523814219136779144923826372566164484199266137847086941143558583944114589879775256332717626405923729116136668688029571453985579644712986176951408020146748748563595209204762917654524701880334942249960226377308436090201770711809633401143775793140653611416873974323394148940418501618974052226282798416460626065228461921588455482315073680324751219523390693021627733316415594481759895900661077257621422574354214147049070801618331230778106896420573344476758495343221305322746949099737404880628715685491864107355983269523222912040755467539815825800518099155075643431911079369436322509599959400424500061009946021655563450326786315352357624910116907434892291240034801507280287034042240877101608215624254045198057212370228248931892905770195927459215248261614893026910033993606201431251770456184112906632910484853354600879985237279147072839497505520128488101690813149621247673071915741966086746554507490811862397569136925506152944679985702773543833414085959781972042795489468773308778065152929722976813818592963233354991673860638987973471088842849803188335727674144867504597966866975959272411009559905216213649881679527114144318797402097774876972331961016588479897646564860987631266368610008750206975998730828245104545729169580476785159703186030238642732163137277943367377996384177515782466546946095638341815165747735666015042546740941450038118520891848934925689663363316102416203329463754238287923919028163972852110311698771788401731022157424646021424868921531480726881511521025404975397053808375659321385108231141940355825116281153999671137300161666275559404472918271706903275904259753809533696115625654090647071277021264134333905211799931601752544779499678152796903261450445665123185861500659721966917965563310354947837149557805175216728320053012584716384332720558459782218352372880095900611619232960737250544573819769517257685448496999078595883135048240193828056604696613306943988193557304184737826032650310901729077573231808705961971987758793526809404938662627662307913175254121492650305147906854123683544205335434583236853666061615866373788703781137419551519', q: '519693404322299949218461761842808930390141303104890733096455511583885091699538265568615824855914931394744669738971705358347511039987171222241057702384410202394708979253047654096047470330365455116165327022056409732854703630533763682171929925469637836991525984111225953023073343277117053333586809647011801890132441007138383495715063681106375516644592842100585204458879869724773220740336313177618533843512084589238252261907109568389572461913186283082242099633068923543470571779291972057294939887628166358813202961864558068334344014785726992789822356493088475704010073374374281797604602381458827262350940167471124980113188654218045100885355904816700571887896570326805708436987161697074470209250809487026113141399208230313032614230960794227741157536840162375609761695346510813866658207797240879947950330538628810711287177107073524535400809165615389053448210286672238379247671610652661373474549868702440314357842745932053677991634761611456020377733769907912900259049577537821715955539684718161254799979700212250030504973010827781725163393157676178812455058453717446145620017400753640143517021120438550804107812127022599028606185114124465946452885097963729607624130807446513455016996803100715625885228092056453316455242426677300439992618639573536419748752760064244050845406574810623836535957870983043373277253745405931198784568462753076472339992851386771916707042979890986021397744734386654389032576464861488406909296481616677495836930319493986735544421424901594167863837072433752298983433487979636205504779952608106824940839763557072159398701048887438486165980508294239948823282430493815633184305004375103487999365414122552272864584790238392579851593015119321366081568638971683688998192088757891233273473047819170907582873867833007521273370470725019059260445924467462844831681658051208101664731877119143961959514081986426055155849385894200865511078712323010712434460765740363440755760512702487698526904187829660692554115570970177912558140576999835568650080833137779702236459135853451637952129876904766848057812827045323535638510632067166952605899965800876272389749839076398451630725222832561592930750329860983458982781655177473918574778902587608364160026506292358192166360279229891109176186440047950305809616480368625272286909884758628842724248499539297941567524120096914028302348306653471994096778652092368913016325155450864538786615904352980985993879396763404702469331313831153956587627060746325152573953427061841772102667717291618426833030807933186894351890568709775759'}