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: '953767367343524630797705753884653369941220780214951907123425008383173443690244729234655148482259010445300739959625450685025494707824266888097652392827632383125670371244451110672132956749537271333278577321536043641930774432134337265911677329739318223412066570744708267724186540114572324254180362333115656457074689922123539178171872162853082961306659866242600653796886016876365054654767714903747831207965894324220791373213105007916489658329426998300268957066507147910522606495024637186436002808386994078526121302306632454439996076002432382243846821225631002741641493153721805527912295317150021467003302320344468475318364367254309952779988212703651190752672236837939654516872497107607529395063225325650126520361008401373497720281344499024801993438540155636921482046694425171306716569209280842143795492096715409761839866933525001221707885324373161021665268339409590842964773463421049493383621652006522046306520650364903899782110819668648102326421550413827543637832599088297418816505922307639821009319162481259276464237131044420044880987636992878829641746451729886065195070648354413133774376912951929316218007581435946485117939693667152356870304743385800429755742244340216849029042575134042447097665479429836885531046927818572754221514870385268003303041009533241924583010023282275817089733185919299534365032358661878323707748831795131472279636397684630413266721695339227655098616983211469814552167387541711779001082698391511000491303992340648766865649353125867570334493498526348388915372010119252510006952863253083854007710886813397827081005717265869060904393318673864384348203313775177176057635540573113861060289217379367634509709073736319651926723438217094157991526932979980963592844490995958368567202185906940653843186401980879678257702636102444651655839845883897346395285732436409013588705644162366940675287724893795912828566574158681055097021775544817976907201372145677834178449754557345366732789475670942159107213069980223447671136740562622746255764826237731029537555570725969456085944596149387466396335126784242725593062934175749780031151504115673034381459560407670752521043360699131022184982227729976822419135364367217498297542919884205188224724916765352160425012893502825786288435588292170178022111732013781849714604238080598397240872755779694850711723737555484644494419518516404423710240209783659482747916020614676091265384278127270929927563985533600562120364771906463792840586504758033570907202013110127038554411387272086091441965662250131532944596934066063019', q: '476883683671762315398852876942326684970610390107475953561712504191586721845122364617327574241129505222650369979812725342512747353912133444048826196413816191562835185622225555336066478374768635666639288660768021820965387216067168632955838664869659111706033285372354133862093270057286162127090181166557828228537344961061769589085936081426541480653329933121300326898443008438182527327383857451873915603982947162110395686606552503958244829164713499150134478533253573955261303247512318593218001404193497039263060651153316227219998038001216191121923410612815501370820746576860902763956147658575010733501651160172234237659182183627154976389994106351825595376336118418969827258436248553803764697531612662825063260180504200686748860140672249512400996719270077818460741023347212585653358284604640421071897746048357704880919933466762500610853942662186580510832634169704795421482386731710524746691810826003261023153260325182451949891055409834324051163210775206913771818916299544148709408252961153819910504659581240629638232118565522210022440493818496439414820873225864943032597535324177206566887188456475964658109003790717973242558969846833576178435152371692900214877871122170108424514521287567021223548832739714918442765523463909286377110757435192634001651520504766620962291505011641137908544866592959649767182516179330939161853874415897565736139818198842315206633360847669613827549308491605734907276083693770855889500541349195755500245651996170324383432824676562933785167246749263174194457686005059626255003476431626541927003855443406698913540502858632934530452196659336932192174101656887588588028817770286556930530144608689683817254854536868159825963361719108547078995763466489990481796422245497979184283601092953470326921593200990439839128851318051222325827919922941948673197642866218204506794352822081183470337643862446897956414283287079340527548510887772408988453600686072838917089224877278672683366394737835471079553606534990111723835568370281311373127882413118865514768777785362984728042972298074693733198167563392121362796531467087874890015575752057836517190729780203835376260521680349565511092491113864988411209567682183608749148771459942102594112362458382676080212506446751412893144217794146085089011055866006890924857302119040299198620436377889847425355861868777742322247209759258202211855120104891829741373958010307338045632692139063635464963781992766800281060182385953231896420293252379016785453601006555063519277205693636043045720982831125065766472298467033031509'}