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 1.88 kB
module.exports = { p: '3440981865713865723225641372987743034674286065475284930918899578823783113343545401103221599441720254395903124613778724633944658604566223824415431277562087947244109858417425569155161674820899261754853593444473473809512382453887296237460016301748551071148480940922569355329434905238595575239452032205471992330183811211568231814345624354341376393868732275434722373728768853427670456844725666545952035163994498286632819367441892613624132736641140830850337386565319022012235307390293797240175879886670922565704791283378731334725638835901510031611307373678557278527020097929165304389663474323903932377981181309537643747381642196019249405043848836563431791734668003999306028670763834070189664450041826168330483744296496208092432977997820179908751213503027750984486003259597656517865554018114545369248532584101551701302918455007041520236808748143992223571152942306842962147563711981098610415995177199903178329686455966294873485546163', q: '1720490932856932861612820686493871517337143032737642465459449789411891556671772700551610799720860127197951562306889362316972329302283111912207715638781043973622054929208712784577580837410449630877426796722236736904756191226943648118730008150874275535574240470461284677664717452619297787619726016102735996165091905605784115907172812177170688196934366137717361186864384426713835228422362833272976017581997249143316409683720946306812066368320570415425168693282659511006117653695146898620087939943335461282852395641689365667362819417950755015805653686839278639263510048964582652194831737161951966188990590654768821873690821098009624702521924418281715895867334001999653014335381917035094832225020913084165241872148248104046216488998910089954375606751513875492243001629798828258932777009057272684624266292050775850651459227503520760118404374071996111785576471153421481073781855990549305207997588599951589164843227983147436742773081'}