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: '3988997795295402311740667986682681219602158811914568873458572349488855256545264981949472515097011963980581700409169605196138779271192376095585048362133544149184026601935411593341089554577040030197354314300278362152014031483944432801539766289643947931249834306189141113576977506050442080177333607827923542387194204465160820742896122582037490904403888227166048592452839730356883138745133718413669634748184734726431977036427724684811555942460115943366874542925348982532103371054170048779346493478481522874901025811105140038403169130834102543686902309207914640431054536114070532848626208886267306208362014232106509845995461829100172555690275118228249198498649125162393181660262127504406878690760276452653954670910976136529532770756279842114708805471004627268697363291032825439949957156272602300851110647541115175521158238514988393734721332894907726325238800850842023268145355965591740477723212936516768213730218418974268518283879', q: '1994498897647701155870333993341340609801079405957284436729286174744427628272632490974736257548505981990290850204584802598069389635596188047792524181066772074592013300967705796670544777288520015098677157150139181076007015741972216400769883144821973965624917153094570556788488753025221040088666803913961771193597102232580410371448061291018745452201944113583024296226419865178441569372566859206834817374092367363215988518213862342405777971230057971683437271462674491266051685527085024389673246739240761437450512905552570019201584565417051271843451154603957320215527268057035266424313104443133653104181007116053254922997730914550086277845137559114124599249324562581196590830131063752203439345380138226326977335455488068264766385378139921057354402735502313634348681645516412719974978578136301150425555323770557587760579119257494196867360666447453863162619400425421011634072677982795870238861606468258384106865109209487134259141939'}