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 4.96 kB
module.exports = { p: '613782378306687066493330253592658522829669616809369006321952951548061634426114656936173362861922083144918491429603083471365872875125342426042350479599455269221264860563382238328245735830453109051591451562731112884605649303095271975381100803201902785608244236770250104821551602451778945137912659840716826893809713283258874341597862189428330436038044982462075285065217317020640808288815646658124844582256361218781038354785917918997077642431077394268021883769256605355044327893648131310985665085546932747646564880096703425157551793184974247841959195723990396213179415238840925856773367920676265266013206294229993535392788119754730275682238120769275489460911265020413404988885670672870023708164787595123169085075325627305546000005889488283462286107892050871925458274175729305624793236387858633597705779388025400018741284441017999273827309300550423211497731363982000152869733813810963931944651383266853338332830209846097866530328939612128443043804608650842961152146039797239710167881253284807631584963585716148474822314051425451456545297233556926807327141503510928071529740278031054039065249178747968444440761733730238237687258406349199349694045018020285396504266078063319528738837507940546418921942961384716704461290699567226759101344345794829749298184494796465680929531635346400786724795047911762339414716459725341157915781312869624513053706866600769288540806195793034931481684631462828146997417949359392838088623244101327006063009841676572173526352470001005290301326278170834755807463055183174962044755506881282150131565374224402601619234567273185745988026622193142860065371515467086411464161514409415991842237957924992096686116956871289582291137685231720288709530463189495370844020854480186863778386609075207511076088659545469468693075399382265884538646892233107907246029286304018420399517742068243846751882524838221745320766421530375073943574268729608541363972929296610724253515656544456099057198486479037311059431889213931446572188477706442279957669858687744202247746165613220401394355958578126523099216631396917402716471321641288239668977219590133042156508409627812629214509032005185929900511972779835202360816714338119938028997004337200794242824897875633463741350922897037677860293269620277948661378205034512202369331956378920797522938667459345369275806418969648268524877642202184399777578661425109451532469240253004976082638727887968154948916796613689713736424839133886111581335450186437221748744093551345784836175844297596878408661073976586956847480580209392039', q: '306891189153343533246665126796329261414834808404684503160976475774030817213057328468086681430961041572459245714801541735682936437562671213021175239799727634610632430281691119164122867915226554525795725781365556442302824651547635987690550401600951392804122118385125052410775801225889472568956329920358413446904856641629437170798931094714165218019022491231037642532608658510320404144407823329062422291128180609390519177392958959498538821215538697134010941884628302677522163946824065655492832542773466373823282440048351712578775896592487123920979597861995198106589707619420462928386683960338132633006603147114996767696394059877365137841119060384637744730455632510206702494442835336435011854082393797561584542537662813652773000002944744141731143053946025435962729137087864652812396618193929316798852889694012700009370642220508999636913654650275211605748865681991000076434866906905481965972325691633426669166415104923048933265164469806064221521902304325421480576073019898619855083940626642403815792481792858074237411157025712725728272648616778463403663570751755464035764870139015527019532624589373984222220380866865119118843629203174599674847022509010142698252133039031659764369418753970273209460971480692358352230645349783613379550672172897414874649092247398232840464765817673200393362397523955881169707358229862670578957890656434812256526853433300384644270403097896517465740842315731414073498708974679696419044311622050663503031504920838286086763176235000502645150663139085417377903731527591587481022377753440641075065782687112201300809617283636592872994013311096571430032685757733543205732080757204707995921118978962496048343058478435644791145568842615860144354765231594747685422010427240093431889193304537603755538044329772734734346537699691132942269323446116553953623014643152009210199758871034121923375941262419110872660383210765187536971787134364804270681986464648305362126757828272228049528599243239518655529715944606965723286094238853221139978834929343872101123873082806610200697177979289063261549608315698458701358235660820644119834488609795066521078254204813906314607254516002592964950255986389917601180408357169059969014498502168600397121412448937816731870675461448518838930146634810138974330689102517256101184665978189460398761469333729672684637903209484824134262438821101092199888789330712554725766234620126502488041319363943984077474458398306844856868212419566943055790667725093218610874372046775672892418087922148798439204330536988293478423740290104696019'}