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: '963494748442885660197188770906310087828742907974975765153613128928859028347511488200990253785677018619006047138180158662824966797772244900801136595433108383269867438294242072526424222211204057592552063542472706174771820332527702604901861505344050850068098152218653278124805297739876625689924462498179387652427775406223616924118282059976357225820028972575368239361313202420744533821240587725465268436678229668120274111928708331232543005676622462075687100184691326569493066752671008640913926419294990543719603909882951631520198505423980864764418889954559038413051933675199081610530087298475375798869712742603839054599103500816111091222335952675827160702661286208608732711992750693795001473104463119397929320647669450544688090990565568044080193408795437809125391350056258750899388812704662284288197229121822327480671373173443827537211396225937065666586620240579908018306659201679479403896083263522778691486466049484077382633754291755286097299436737300900073179468375960737210763694644726216006881107850295007637266651976257865875773638365522839310522917681451031789522212105788008137944943174333180482958242700856534223853919780155307910422760355644662699783516548113235828180647436735235574474794094893244154187679417031032876264406132258262829554736199030452224265533196328450220724094823617685742217555851738181040649230767531324725288738863849613780494160251342852910564303255386918867442502731861287002512217347504687110628532561256984560043499338616727522397154749716322259714753456569020183678481517176140205777248198265518991251290278413769012583755045199770054025545531275417894789458144409948896463670771622018940177260182600501077203494861944225999981666230039932810673637824622874257507638806351775080800634234215140760666951221412480185156919382463077939828431591353056159589444131196829726226210950113019595954581531619919226355389345238460859520384356505731489819748393082274761970743708916772691054906228676667976465548927707712796207572956788140383409400462203078594848106203533182913863246473480315829258080500805354386255498718977641749374753795223899998977636220977356557736631746011506214450646109450652745604699498871262626622668826718706172964928966023461428437840862707267942418539824436676867276339376234603580301730451964201568437138750518399929700729807674601832546794694519387379677109434428690491030702817547154975596632222931044152691044447399093765312171011115265860012879082276006697858610456088140965263536168378433662784544355374590427', q: '481747374221442830098594385453155043914371453987487882576806564464429514173755744100495126892838509309503023569090079331412483398886122450400568297716554191634933719147121036263212111105602028796276031771236353087385910166263851302450930752672025425034049076109326639062402648869938312844962231249089693826213887703111808462059141029988178612910014486287684119680656601210372266910620293862732634218339114834060137055964354165616271502838311231037843550092345663284746533376335504320456963209647495271859801954941475815760099252711990432382209444977279519206525966837599540805265043649237687899434856371301919527299551750408055545611167976337913580351330643104304366355996375346897500736552231559698964660323834725272344045495282784022040096704397718904562695675028129375449694406352331142144098614560911163740335686586721913768605698112968532833293310120289954009153329600839739701948041631761389345743233024742038691316877145877643048649718368650450036589734187980368605381847322363108003440553925147503818633325988128932937886819182761419655261458840725515894761106052894004068972471587166590241479121350428267111926959890077653955211380177822331349891758274056617914090323718367617787237397047446622077093839708515516438132203066129131414777368099515226112132766598164225110362047411808842871108777925869090520324615383765662362644369431924806890247080125671426455282151627693459433721251365930643501256108673752343555314266280628492280021749669308363761198577374858161129857376728284510091839240758588070102888624099132759495625645139206884506291877522599885027012772765637708947394729072204974448231835385811009470088630091300250538601747430972112999990833115019966405336818912311437128753819403175887540400317117107570380333475610706240092578459691231538969914215795676528079794722065598414863113105475056509797977290765809959613177694672619230429760192178252865744909874196541137380985371854458386345527453114338333988232774463853856398103786478394070191704700231101539297424053101766591456931623236740157914629040250402677193127749359488820874687376897611949999488818110488678278868315873005753107225323054725326372802349749435631313311334413359353086482464483011730714218920431353633971209269912218338433638169688117301790150865225982100784218569375259199964850364903837300916273397347259693689838554717214345245515351408773577487798316111465522076345522223699546882656085505557632930006439541138003348929305228044070482631768084189216831392272177687295213'}