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: '952320614300746937780963873390369310963146187438372030837109477968700026025498001614999827826880998351291751213237601572921845857164326503747232543250392247262834257194486638642071398885891798116592415369539550197383896552066921474385510472724288704801790422867228367760158904149450015981853049162747625212440954316647200402778490483687089518826617355567847154283298162868797910065595213171844653678193745596595240557809358557060696294499730575834272921399487732136314016790888794589348511285575646774842937553107275086210546764583448280931446748223674657197113979647146038557898148269152835890390902546654534488622658689648764275920709859139447814288546386098376998928385600049217183906764889259278202439401287376817477796906222701953178263946402363609577090319519340290283285022209543633391122535459601087822137563894020013232921275806587599325379277761500902308477521469969363970901820828261155259291676993561937172959915884517771114486390871406008866738207158541162713261491218691399337164206995040206818011205400625028427649739590356176224301817491042383462169418239744700600165766391110672631080021063300977683451296429613512380043259122428904881701004512347895159468320282762037087314459872583347513631259560254816012027834480293898701436470704887548785396923425002993106690096502760362587345610602481202618583350494794866509998371241346172537413227849274878531487143590046732796407386406991823950666387830867970302306355702903308421327068209221902717559753530181117232560045671460646424804371887971207352994402424192372840063103197928994644505466689126240381520704173637461243411685849263421816286737087518427700859138617139145165676622356312841677845492464635761759099936142681219587853234579569476557328507834242102744454935857873885510625603384126500795788223576080596069565653221069853138161412444544347639759059033945304944913905626136033468134002219112612058176006358295480703894503976291834108628912365348973349922872769362735010374505487606262749483515159912881277273895461976317902401151216558936535748513945899436048123177239558196958460744788044106505131371401448483944879919745463006938391523212962454634290248329662486093795228578967213890894538567558527640132858484184233512547940967762636904752852737359051734796740804326034625796060069991655986417193959779268740873177874384227894902842475855242008208886393300004344411169973245799941019752834596850573858290563395683746199456764393551742290931674945401729819694450157660553948079293927855867', q: '476160307150373468890481936695184655481573093719186015418554738984350013012749000807499913913440499175645875606618800786460922928582163251873616271625196123631417128597243319321035699442945899058296207684769775098691948276033460737192755236362144352400895211433614183880079452074725007990926524581373812606220477158323600201389245241843544759413308677783923577141649081434398955032797606585922326839096872798297620278904679278530348147249865287917136460699743866068157008395444397294674255642787823387421468776553637543105273382291724140465723374111837328598556989823573019278949074134576417945195451273327267244311329344824382137960354929569723907144273193049188499464192800024608591953382444629639101219700643688408738898453111350976589131973201181804788545159759670145141642511104771816695561267729800543911068781947010006616460637903293799662689638880750451154238760734984681985450910414130577629645838496780968586479957942258885557243195435703004433369103579270581356630745609345699668582103497520103409005602700312514213824869795178088112150908745521191731084709119872350300082883195555336315540010531650488841725648214806756190021629561214452440850502256173947579734160141381018543657229936291673756815629780127408006013917240146949350718235352443774392698461712501496553345048251380181293672805301240601309291675247397433254999185620673086268706613924637439265743571795023366398203693203495911975333193915433985151153177851451654210663534104610951358779876765090558616280022835730323212402185943985603676497201212096186420031551598964497322252733344563120190760352086818730621705842924631710908143368543759213850429569308569572582838311178156420838922746232317880879549968071340609793926617289784738278664253917121051372227467928936942755312801692063250397894111788040298034782826610534926569080706222272173819879529516972652472456952813068016734067001109556306029088003179147740351947251988145917054314456182674486674961436384681367505187252743803131374741757579956440638636947730988158951200575608279468267874256972949718024061588619779098479230372394022053252565685700724241972439959872731503469195761606481227317145124164831243046897614289483606945447269283779263820066429242092116756273970483881318452376426368679525867398370402163017312898030034995827993208596979889634370436588937192113947451421237927621004104443196650002172205584986622899970509876417298425286929145281697841873099728382196775871145465837472700864909847225078830276974039646963927933'}