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
JavaScript
module.exports = { p: '1007977432103151451520737980040695087537221661481084685352996797286891371286502723005949439828426483621457320769446963998767094643881507516834430775049198674685303858514560252999840552816661894437972436033498556820787753283466632971717369585817282423120238303593508339158829652971380916052707426894810028747915345589034532807045001655206373092715682852684107652927122064375157333826432403625153253852881168196626599462244664383117503110802969594064781151834758495890321453756794074703374561234738607850392206309641627125380074418372900975578631053758999127072178244587449735696093195060926558883892393620375152089648149163690098933120435362085457655179279976485063265243446683144853967656970871219148586793977829212906139577327283412508777499893396445984643041731412415623546109560334217338369220681975805030324911808553118619113023696336122181547124478055050881808581678982789324477605306029370829315958345884091691846904960295711856865023964175419984863640937982883641906190718296340158438310415076779771629315485567442676909989661868141494467686249561213859164076166066868273041420299577199246862140256337556306329098188874058354068939397854283257506203514111926125508968353091286479599430283207638793646993979979089146503938470582624450461017209903151722279673142927995766857352350450865089290733169846545989551355188067448149828724061845463316648861243173689693127044857630577417312349314790280816690595463702166920136017973963136519630371211111023398699168108642912634883970527589215589733882890309059968235314435420985920827902418770177825770961697219624859441148535912452649615642693508056424865429800216127647336791887163752016282341945058250006581696917470808432477259504621230408979037406996234163975560979955060903148816444914356626910442412809418126724758956166048223880996671856769886945729592650571701257420851091051979080089450893582692043674380717349501006373309540473017158229739560953985825710905947264770204033295850136119199351891183831478010065356013408136612394392572846577754135605940971604023721069656980687047672692838004910038196462211432064299130932530749361044275612234466254195869985045171250108622201326180741946321772020815042360927733150748093438977629491769588473461532806272869552076905390744992211004299315498061482372540957549600785295528013469770645806268073883392946677056453558178102171599111651381704505012404449359423897998017802162823406272421976452299874302151394083798551831778221898538636500011951005789378321178895010807', q: '503988716051575725760368990020347543768610830740542342676498398643445685643251361502974719914213241810728660384723481999383547321940753758417215387524599337342651929257280126499920276408330947218986218016749278410393876641733316485858684792908641211560119151796754169579414826485690458026353713447405014373957672794517266403522500827603186546357841426342053826463561032187578666913216201812576626926440584098313299731122332191558751555401484797032390575917379247945160726878397037351687280617369303925196103154820813562690037209186450487789315526879499563536089122293724867848046597530463279441946196810187576044824074581845049466560217681042728827589639988242531632621723341572426983828485435609574293396988914606453069788663641706254388749946698222992321520865706207811773054780167108669184610340987902515162455904276559309556511848168061090773562239027525440904290839491394662238802653014685414657979172942045845923452480147855928432511982087709992431820468991441820953095359148170079219155207538389885814657742783721338454994830934070747233843124780606929582038083033434136520710149788599623431070128168778153164549094437029177034469698927141628753101757055963062754484176545643239799715141603819396823496989989544573251969235291312225230508604951575861139836571463997883428676175225432544645366584923272994775677594033724074914362030922731658324430621586844846563522428815288708656174657395140408345297731851083460068008986981568259815185605555511699349584054321456317441985263794607794866941445154529984117657217710492960413951209385088912885480848609812429720574267956226324807821346754028212432714900108063823668395943581876008141170972529125003290848458735404216238629752310615204489518703498117081987780489977530451574408222457178313455221206404709063362379478083024111940498335928384943472864796325285850628710425545525989540044725446791346021837190358674750503186654770236508579114869780476992912855452973632385102016647925068059599675945591915739005032678006704068306197196286423288877067802970485802011860534828490343523836346419002455019098231105716032149565466265374680522137806117233127097934992522585625054311100663090370973160886010407521180463866575374046719488814745884794236730766403136434776038452695372496105502149657749030741186270478774800392647764006734885322903134036941696473338528226779089051085799555825690852252506202224679711948999008901081411703136210988226149937151075697041899275915889110949269318250005975502894689160589447505403'}