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: '550518038011909594656406295478704039670358857984701151672075616634609248586332336366131189647568737239589827742142536898511609566072953740639643656743979890748442205847515964331895483310834632541768180031800853314412465003285131220326978281092525289930702018804945525651790968910333462986476796526648690735867016986596751538832275845645791073756334591778708763038301600843194634858000105812031878338562085362320995142639739611820909147875234665351978383698587178772357873148574322822982695886337704177656283471692255175098982840728271022457126299151495808147730401116192115765604037463281467176763661333880395352883817462676911436903696610789927132614455152909621874427587421399439059632797246859414894111896364003498162336709080399845727101763067104232929477107469091038559529295065886663109185949618421689761164197306165446568063496988201027511218321706478161117315441357678545049564250816743097676600896818746545450210351614046786467669219855106352567668739228321384073059206719586883179262879535116010684819092912201226500228405763151418992251833437071981363325554099236241867379306887063903593122181811416152224088885372764612165445645245564984391310670031135469226603890041414102671731722644776616084981985724217972385413246962287326302249552769496742575427711099857282175009218735192589097571027766749779232333277686865384012872581299312505884995700874274514877823407841424185861130227135533690685043699357144436346336387010318184448217895975088758153813177132292533056903698756458488335186885609004534625934734743836603429013279815531846726750060541166696735244104676636101345657790987210436747152828660127315647789149334244712288076785286421877494162295556507257882033726202343987397046071520732810885798980339664157310865782348372128715187767337307929707410366385165687081335722168172761605192632326238603936712929158834784388020459375213823344608581367787324659033649801288407740697578822616968794398813942830048270241312923310960164604468030069979784506215280768662399782177629173476307906505790770892009927101833285417954810874402220333535851024076794541339534177174297542385310123407217089457838718702486470518578146033967115393074525475349351092861507376256967049205574293826106694117166682665729995404364531643246261577081444054190355062928748258372032643708850354348571883051996084009721008060914504785579092726081135275960502998249250541854634004367289959278182606974644574282988278865322232603870808244075859180406838189859167888854502751113563483', q: '275259019005954797328203147739352019835179428992350575836037808317304624293166168183065594823784368619794913871071268449255804783036476870319821828371989945374221102923757982165947741655417316270884090015900426657206232501642565610163489140546262644965351009402472762825895484455166731493238398263324345367933508493298375769416137922822895536878167295889354381519150800421597317429000052906015939169281042681160497571319869805910454573937617332675989191849293589386178936574287161411491347943168852088828141735846127587549491420364135511228563149575747904073865200558096057882802018731640733588381830666940197676441908731338455718451848305394963566307227576454810937213793710699719529816398623429707447055948182001749081168354540199922863550881533552116464738553734545519279764647532943331554592974809210844880582098653082723284031748494100513755609160853239080558657720678839272524782125408371548838300448409373272725105175807023393233834609927553176283834369614160692036529603359793441589631439767558005342409546456100613250114202881575709496125916718535990681662777049618120933689653443531951796561090905708076112044442686382306082722822622782492195655335015567734613301945020707051335865861322388308042490992862108986192706623481143663151124776384748371287713855549928641087504609367596294548785513883374889616166638843432692006436290649656252942497850437137257438911703920712092930565113567766845342521849678572218173168193505159092224108947987544379076906588566146266528451849378229244167593442804502267312967367371918301714506639907765923363375030270583348367622052338318050672828895493605218373576414330063657823894574667122356144038392643210938747081147778253628941016863101171993698523035760366405442899490169832078655432891174186064357593883668653964853705183192582843540667861084086380802596316163119301968356464579417392194010229687606911672304290683893662329516824900644203870348789411308484397199406971415024135120656461655480082302234015034989892253107640384331199891088814586738153953252895385446004963550916642708977405437201110166767925512038397270669767088587148771192655061703608544728919359351243235259289073016983557696537262737674675546430753688128483524602787146913053347058583341332864997702182265821623130788540722027095177531464374129186016321854425177174285941525998042004860504030457252392789546363040567637980251499124625270927317002183644979639091303487322287141494139432661116301935404122037929590203419094929583944427251375556781741'}