UNPKG

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 2.5 kB
module.exports = { p: '918893958468797604280582560474006903647960538018254673178221995589174549143463452510565948339774487984639625242977122333419856550985324304640081082042519120757433656983295891811132185627038186806532873073517947440848578436270295201741255470106532007477427832617527403800975680487743351274125266689936753729933471250868341077810351710004056738184549466878070330126235057512370442662582853588449551195409117724767132154070009834933687022718624947897405718511670445968431675246141921607709201065215022869279532757330185006496237670557207713238912861318103230405438287309801799767877411772693000153803357950200349900899699258817521744186361493556157751496352653097672936808050832628072394842099769214716511877384976918283433374595027057346098198717668300186316766178444712861216274879172326695004782207270269893861905145780718074634657358565327962568159899899687235493963376519593341355815140116403166713119445190586896868783662994591839393758012093848973422956203836390568880760407154789296045236261439551747136598853637291050756044472327138354495336835276242393576296111589724459615763626636396556469766984885267352492622924079614044938921788377116240507497938929105096048829839966972387614593129167875635103698205858183561602068108859', q: '459446979234398802140291280237003451823980269009127336589110997794587274571731726255282974169887243992319812621488561166709928275492662152320040541021259560378716828491647945905566092813519093403266436536758973720424289218135147600870627735053266003738713916308763701900487840243871675637062633344968376864966735625434170538905175855002028369092274733439035165063117528756185221331291426794224775597704558862383566077035004917466843511359312473948702859255835222984215837623070960803854600532607511434639766378665092503248118835278603856619456430659051615202719143654900899883938705886346500076901678975100174950449849629408760872093180746778078875748176326548836468404025416314036197421049884607358255938692488459141716687297513528673049099358834150093158383089222356430608137439586163347502391103635134946930952572890359037317328679282663981284079949949843617746981688259796670677907570058201583356559722595293448434391831497295919696879006046924486711478101918195284440380203577394648022618130719775873568299426818645525378022236163569177247668417638121196788148055794862229807881813318198278234883492442633676246311462039807022469460894188558120253748969464552548024414919983486193807296564583937817551849102929091780801034054429'}