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: '900432649522337034348588967674239571509724232603188379602717458954251910138560740351048020776542413748035806197875420087727382794400820461419032390238539158884587842673023284827276693009137642496922461344286073382844631313460132030365292952130089061291480391008456854049786890565849924569720976355225631753323415979343569450714042372249210418494185367859470167458681326728624619988311144002789646828723742345485519077012446766005507288570982243206216976156521886021920972413807779298876992078087548458403410192109084131586327754538770245257454780308980099869622190681458979572234363427737260162687733726416318430339533076219573676519755194930083398881079132921259767303393009026981935202747119033232231323478512938526609549141256290950749809017289823376895575508420175924947327231785853232503676451629292257599326273560980595116319779420145213935494826241368112301607943264299816643367207595079647579774430370614686491221922314256229526835203670406187494143882568936167265549992560416820550538728861826637722472094546165810669703940349107421738047143685906896439015223521431886243058363395520248292316735901752838215137472240200057964129419281527937115834049434067453390532666112611928497295559633822044586662070053048173790746397299', q: '450216324761168517174294483837119785754862116301594189801358729477125955069280370175524010388271206874017903098937710043863691397200410230709516195119269579442293921336511642413638346504568821248461230672143036691422315656730066015182646476065044530645740195504228427024893445282924962284860488177612815876661707989671784725357021186124605209247092683929735083729340663364312309994155572001394823414361871172742759538506223383002753644285491121603108488078260943010960486206903889649438496039043774229201705096054542065793163877269385122628727390154490049934811095340729489786117181713868630081343866863208159215169766538109786838259877597465041699440539566460629883651696504513490967601373559516616115661739256469263304774570628145475374904508644911688447787754210087962473663615892926616251838225814646128799663136780490297558159889710072606967747413120684056150803971632149908321683603797539823789887215185307343245610961157128114763417601835203093747071941284468083632774996280208410275269364430913318861236047273082905334851970174553710869023571842953448219507611760715943121529181697760124146158367950876419107568736120100028982064709640763968557917024717033726695266333056305964248647779816911022293331035026524086895373198649'}