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
JavaScript
module.exports = { p: '567859189680314502438532638464323133042044404219501427655994220944848585627425167833200245752235751360142764332407667974246686451013734050091433389974835011893503521929924110950121358136505738483706971329027173066033049138500355824218920695393671857948181893954650974205642636910330090344993173815526052452999140008607258992366130522842892552231423761415873423237733835042783799770110643352590000440046633020779224814369750582522319708695570920497591809567240773962645385765645591928079358961486156675367561703213436676227024276111269504859574876814909868028935659499367110979524783980119252297827733663878056736595960226690854844891574601374362067443770037889442451809760600430374854072315375655271899417343430084379913358387234647833352283524565356497301235405195944972591782155485965803312059483388938967810117568339019109749411476954259667761067474480644738210971061590539122571226607129030564534741523141519712783058729466014464301737249834571637774945654650231248004754795478253254698543344973389488211971956536995274794657156875149953453516208850992160085274216524946161734714620352171047011012262421241862565536598916665704806229077818256954177700816862017303802610055298355902496089709758621459151307016789688301081823977547', q: '283929594840157251219266319232161566521022202109750713827997110472424292813712583916600122876117875680071382166203833987123343225506867025045716694987417505946751760964962055475060679068252869241853485664513586533016524569250177912109460347696835928974090946977325487102821318455165045172496586907763026226499570004303629496183065261421446276115711880707936711618866917521391899885055321676295000220023316510389612407184875291261159854347785460248795904783620386981322692882822795964039679480743078337683780851606718338113512138055634752429787438407454934014467829749683555489762391990059626148913866831939028368297980113345427422445787300687181033721885018944721225904880300215187427036157687827635949708671715042189956679193617323916676141762282678248650617702597972486295891077742982901656029741694469483905058784169509554874705738477129833880533737240322369105485530795269561285613303564515282267370761570759856391529364733007232150868624917285818887472827325115624002377397739126627349271672486694744105985978268497637397328578437574976726758104425496080042637108262473080867357310176085523505506131210620931282768299458332852403114538909128477088850408431008651901305027649177951248044854879310729575653508394844150540911988773'}