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 2.5 kB
module.exports = { p: '698819283942253904795811258339544196032153101265889029958145575040890937646513460094024045249092739729581784637055359575570926394540276637373065448513696064085768405336224846535149889470325703066819307016596695486619958272865412778752471196954013696618564076111561642895966854391682345994984804060660364809238524651776573496940929812658255772778097516962922110084531548130726879640379714257799023511752220349736198424721499778220999966236394929600976490060318907395633632137665051633713990762021800826376998181383917872069956795854507026252603842482810111538683866104666380095790028636392597766047385323070263308600697880264803726142334866827263523407366546817586447053584790795370064870214962673402201048309690452706296545240199927926988718609565188448770698197438900499358187508774700788109025724588044865541940683609104471048286773614120227637851562866838036615733707212171385352155249573697096434043933133575379547564798013083576703475251607173181230018145947361882873257829359753694729212151399315783296807368108089143600874327561461556403400699172252285918603800337476234551816048809397033614227861966545283146738749616843996311493664453368559739271213581200495914718413318178197874986596876556456560372724041340117185330317027', q: '349409641971126952397905629169772098016076550632944514979072787520445468823256730047012022624546369864790892318527679787785463197270138318686532724256848032042884202668112423267574944735162851533409653508298347743309979136432706389376235598477006848309282038055780821447983427195841172997492402030330182404619262325888286748470464906329127886389048758481461055042265774065363439820189857128899511755876110174868099212360749889110499983118197464800488245030159453697816816068832525816856995381010900413188499090691958936034978397927253513126301921241405055769341933052333190047895014318196298883023692661535131654300348940132401863071167433413631761703683273408793223526792395397685032435107481336701100524154845226353148272620099963963494359304782594224385349098719450249679093754387350394054512862294022432770970341804552235524143386807060113818925781433419018307866853606085692676077624786848548217021966566787689773782399006541788351737625803586590615009072973680941436628914679876847364606075699657891648403684054044571800437163780730778201700349586126142959301900168738117275908024404698516807113930983272641573369374808421998155746832226684279869635606790600247957359206659089098937493298438278228280186362020670058592665158513'}