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: '549836452061466971089552479685920449391961998008152419419423062652027457108258119628684722356142500427350619720483170187352182625783020295342060970489476842805810821775406026827496255697599633815346903362505804571584883122952399848921660655926069607118157464994284166335606483407244904765473343461972995479228420901187454012280947831803333922336408779917241129529875107660940901120842362080906413010341799177890987839613775490001719081457223886808677498403381273883864825791876364467318172543884464563120699685198778571331863348518824881905876845300547371252627220367766864350443986436896575221069675514879041157810976152038076713911734021316037006153040345666835616781172350390172648530920789749383241481504085497147931979234675596484330115102042465761293788417740335976156720842365005181723051293192249885944671331387766172841531357486786767718534135840115676134194170404846836689133370901655528232923687961532912068550664300728256506724411515240830063220503511418664323896694144346840774228356253679688873007592687774783537475381866132473802601943619545250106814969633340947065329880626840640432533571207464482231087921951033055616499545949385184217856442971550753223457238188788490299324819704265602611267399241269750817976804585405786725683461372168396638564317105274042073062551219693506238534687541424570001438160741963801405837267857546634974652130820038198030823438265339644435866258564847503528310529932555243722255189024753826942971997377331289672365998488178523590453516553155411555006556471789863871457253771042710110902199956803980216306057379426890720758179441631962589630324203463479697734780218687220504295256994558292479133325756350937134160412430265928193750141675032300504900129663863878839999428956197121055748021887805740400783726726662515819018120494221563685642784963674838755107617385267840393914550763397537956321560242844495859980222315310120262082086497042018051189425964526113404247432619452420367148764133097561040803101953789489465852376124666755240692044149032740649780484966261115449439937499084180522106685715783980954632022608059383258880048225308146296217566440124389380440849305937648652048718497681470254505715091371909426927809082062140682431430002785734911922741307061474930976105230951419631956640485133268426151851557160087022225209680873205040799627394994065088486532239482376872300096847819137214598178794755622261247924372068525238961286394284888412589330972542037267801406837014433869095575391729527932419125199641682259', q: '274918226030733485544776239842960224695980999004076209709711531326013728554129059814342361178071250213675309860241585093676091312891510147671030485244738421402905410887703013413748127848799816907673451681252902285792441561476199924460830327963034803559078732497142083167803241703622452382736671730986497739614210450593727006140473915901666961168204389958620564764937553830470450560421181040453206505170899588945493919806887745000859540728611943404338749201690636941932412895938182233659086271942232281560349842599389285665931674259412440952938422650273685626313610183883432175221993218448287610534837757439520578905488076019038356955867010658018503076520172833417808390586175195086324265460394874691620740752042748573965989617337798242165057551021232880646894208870167988078360421182502590861525646596124942972335665693883086420765678743393383859267067920057838067097085202423418344566685450827764116461843980766456034275332150364128253362205757620415031610251755709332161948347072173420387114178126839844436503796343887391768737690933066236901300971809772625053407484816670473532664940313420320216266785603732241115543960975516527808249772974692592108928221485775376611728619094394245149662409852132801305633699620634875408988402292702893362841730686084198319282158552637021036531275609846753119267343770712285000719080370981900702918633928773317487326065410019099015411719132669822217933129282423751764155264966277621861127594512376913471485998688665644836182999244089261795226758276577705777503278235894931935728626885521355055451099978401990108153028689713445360379089720815981294815162101731739848867390109343610252147628497279146239566662878175468567080206215132964096875070837516150252450064831931939419999714478098560527874010943902870200391863363331257909509060247110781842821392481837419377553808692633920196957275381698768978160780121422247929990111157655060131041043248521009025594712982263056702123716309726210183574382066548780520401550976894744732926188062333377620346022074516370324890242483130557724719968749542090261053342857891990477316011304029691629440024112654073148108783220062194690220424652968824326024359248840735127252857545685954713463904541031070341215715001392867455961370653530737465488052615475709815978320242566634213075925778580043511112604840436602520399813697497032544243266119741188436150048423909568607299089397377811130623962186034262619480643197142444206294665486271018633900703418507216934547787695864763966209562599820841129'}