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 1.88 kB
module.exports = { p: '4671611362329003879714054924559839615871768548069993281171485430453443646850537158438143842025671986722997307845331317149078930813009069716104318770405595723511590705919018849077594408160059489082826540829787255040359497225601254080938648583929860887985731078140811286137993937277280573131567017398594513854372449085375909627918774204061186711998487381728472411635154725833550894703810290870342390702918026914303498629913091409927910952486369812391998232178576670499833906148870188321896321822429630455410179649446818605580181948829997843823464396431074571513164972299843109760279380875490378371730715722758030881167602183343319196236306497939023067521415664240232132379112940346335863867321022596870499690064531829750317178492932597214002094766257977983540409025025830398458699447201600299423934294417344784314355145478962771800190551397250941979410723574211820574598814735008794007232475500501230885303731352416369152993167', q: '2335805681164501939857027462279919807935884274034996640585742715226721823425268579219071921012835993361498653922665658574539465406504534858052159385202797861755795352959509424538797204080029744541413270414893627520179748612800627040469324291964930443992865539070405643068996968638640286565783508699297256927186224542687954813959387102030593355999243690864236205817577362916775447351905145435171195351459013457151749314956545704963955476243184906195999116089288335249916953074435094160948160911214815227705089824723409302790090974414998921911732198215537285756582486149921554880139690437745189185865357861379015440583801091671659598118153248969511533760707832120116066189556470173167931933660511298435249845032265914875158589246466298607001047383128988991770204512512915199229349723600800149711967147208672392157177572739481385900095275698625470989705361787105910287299407367504397003616237750250615442651865676208184576496583'}