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: '4731158995893877026934369265785960040456141172845265465379596408917575693228558387993395164442883140006036334245888094955325118547228315567828603976114125982595881696701531680817561146131085859816079246142443941940292948578360990764541696155119333886690122167228506508429403654822830576485493194551273384397633325650845942264081022251864224153008006634161548923281300448310190083395387760850645815865687327537545152153183269234484029352378040795297044180067460285624788158236749661615365505881954363370158073256514216773413018329448410279681316153515878253368475792776935141270070797714231210478640231700828777877201991795430639521174033287382500427341594117085520667436444943662733707406733423986182930972165980041062752053208364185860606615830717151036087845116774203644933451896684771137814662907426412006160761576589868248348188182924635135244655150287820135143641718509633166251356454356812907026468021957252468765869299', q: '2365579497946938513467184632892980020228070586422632732689798204458787846614279193996697582221441570003018167122944047477662559273614157783914301988057062991297940848350765840408780573065542929908039623071221970970146474289180495382270848077559666943345061083614253254214701827411415288242746597275636692198816662825422971132040511125932112076504003317080774461640650224155095041697693880425322907932843663768772576076591634617242014676189020397648522090033730142812394079118374830807682752940977181685079036628257108386706509164724205139840658076757939126684237896388467570635035398857115605239320115850414388938600995897715319760587016643691250213670797058542760333718222471831366853703366711993091465486082990020531376026604182092930303307915358575518043922558387101822466725948342385568907331453713206003080380788294934124174094091462317567622327575143910067571820859254816583125678227178406453513234010978626234382934649'}