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 • 2.5 kB
JavaScript
module.exports = { p: '981386230630588796408716159281008870005334538095406652505635130884313799209796844704791792902460004611703400591032554850362454342452520047617074058726542953588884832756572246148284536542316552559369991389211021587754920373765353226049372299230925086243828588769675685710729402086031639865365306180574465316727497245329801279812497713616283953147756073355567949156781053566967156362359642182909035431039101600681162723627213834205075644372622784255943995933645642778281069832615533551597602244523207620219749434904020705181067620162339254577436333220290496688494885882406861898142159852400859652171446260957175539995831315875543763246344978070577449023624795922532494858880896024581600368444745772495879860770142324568074990983118786143583141197851190128156264571280477445840428068507490182760431367371327630469766210188497870587000972315107092659694971049715862722429507564253562160853153044260687653199122570820269361486472825055918051001766812749594320778180746923009196098299551052435378029765441174664755547639995217432370015688536862950784268548101861732564261416189059607968646874719590951783096650241022687041361269090981843606173280407188388419250878860202101313723431970269079701311251713177209026167886937067186870475395487', q: '490693115315294398204358079640504435002667269047703326252817565442156899604898422352395896451230002305851700295516277425181227171226260023808537029363271476794442416378286123074142268271158276279684995694605510793877460186882676613024686149615462543121914294384837842855364701043015819932682653090287232658363748622664900639906248856808141976573878036677783974578390526783483578181179821091454517715519550800340581361813606917102537822186311392127971997966822821389140534916307766775798801122261603810109874717452010352590533810081169627288718166610145248344247442941203430949071079926200429826085723130478587769997915657937771881623172489035288724511812397961266247429440448012290800184222372886247939930385071162284037495491559393071791570598925595064078132285640238722920214034253745091380215683685663815234883105094248935293500486157553546329847485524857931361214753782126781080426576522130343826599561285410134680743236412527959025500883406374797160389090373461504598049149775526217689014882720587332377773819997608716185007844268431475392134274050930866282130708094529803984323437359795475891548325120511343520680634545490921803086640203594194209625439430101050656861715985134539850655625856588604513083943468533593435237697743'}