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: '843731269049082344046653672871117370148637353954930595132918249699810387141696691511908444473949268890004194354135106217674555088175559348125576822574572077302534183044435935899619221769603792388680494246351495389416383796566962883670226096905300797338243885964614462171734453846559973313603108639028958533744885228661042583115437316661683302566556391776415775278772736451424962001749902313862660530164125624364220630608766850256555519717060753798638260432454223778433629876579315195282554049757073072164268863197815544280222995637575939255907486162742819156557216142288275701391881278169330795324165551098927990766777485751997423673071041131326591009404987078105397337663274383469702813619641225649074119578978978684065035231645128632454579403990058194959632747309528886006642653712298982500113397943730946733607074518274830742523368229160380734421159420803975887353509293455742265154346051637410428200434870799286668354761123519639559489843780717760282866630622844358980370887805265063511069468874915620069041821231371220699159695752257108814885103621211494076908247625979478049146080630190002627889321474326733067955497492365514606716365328948889146595548382125610061458315120104540254029454626723289392309911055876104189558762753708405161338463796796819407129138592528281532024426718382764071223642782383291549908887186260675905685447514886070959988795120182845736911107878508019303902428519126357520263640124479516000510035303097250119503918855763136376760636477073056264385702123367453698296029395399651627342296038712569616230444624052420955133095477050017467687375391268279065614605365047468262856544410351324664304100508959119811573428824998939887037739277618703205626465786451171198121111011982059669036460797102974037385623935107498950313424400900405790279579580527348520529429093004783800231213745143361465619619047684217901367262985868105036058189247923615180514282149743198460434236904767250112117868048552564055254017893615882650118379458427865968016702158775439302425232837288697091323872590375458994183816553139899505014692728104871278496029646411643975762365877851539466401828332662769801352888462950907227419998915876208822542135972585869257830510137980113805690575322325776766749429927474412749912238989900832243614614846101742795198143384611651935765583437645815314146284632572601476406018796962190629809116671865332983402543040646365335393691666001968099384378351547451710500344392266402654895935480107306051766313871252269238443259665301109347', q: '421865634524541172023326836435558685074318676977465297566459124849905193570848345755954222236974634445002097177067553108837277544087779674062788411287286038651267091522217967949809610884801896194340247123175747694708191898283481441835113048452650398669121942982307231085867226923279986656801554319514479266872442614330521291557718658330841651283278195888207887639386368225712481000874951156931330265082062812182110315304383425128277759858530376899319130216227111889216814938289657597641277024878536536082134431598907772140111497818787969627953743081371409578278608071144137850695940639084665397662082775549463995383388742875998711836535520565663295504702493539052698668831637191734851406809820612824537059789489489342032517615822564316227289701995029097479816373654764443003321326856149491250056698971865473366803537259137415371261684114580190367210579710401987943676754646727871132577173025818705214100217435399643334177380561759819779744921890358880141433315311422179490185443902632531755534734437457810034520910615685610349579847876128554407442551810605747038454123812989739024573040315095001313944660737163366533977748746182757303358182664474444573297774191062805030729157560052270127014727313361644696154955527938052094779381376854202580669231898398409703564569296264140766012213359191382035611821391191645774954443593130337952842723757443035479994397560091422868455553939254009651951214259563178760131820062239758000255017651548625059751959427881568188380318238536528132192851061683726849148014697699825813671148019356284808115222312026210477566547738525008733843687695634139532807302682523734131428272205175662332152050254479559905786714412499469943518869638809351602813232893225585599060555505991029834518230398551487018692811967553749475156712200450202895139789790263674260264714546502391900115606872571680732809809523842108950683631492934052518029094623961807590257141074871599230217118452383625056058934024276282027627008946807941325059189729213932984008351079387719651212616418644348545661936295187729497091908276569949752507346364052435639248014823205821987881182938925769733200914166331384900676444231475453613709999457938104411271067986292934628915255068990056902845287661162888383374714963737206374956119494950416121807307423050871397599071692305825967882791718822907657073142316286300738203009398481095314904558335932666491701271520323182667696845833000984049692189175773725855250172196133201327447967740053653025883156935626134619221629832650554673'}