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: '4697727219898885287908785044967712591616202635789685408558949308637920678801106736019885427266802922055874690013397902853516449820185362472492457238035040486690817330011120182088373909154487777545148761736734529464445230521297809016095443604193716505444800155587636480900380754491264083419055567771212441440455823967170911305430759987813350594875956266425887574452249880783930889390018620859206329319146148459231014745240639654373543980856708873171527734018713172821540002601653331435991508540150218171947279026039576963065686108456931806330321471650739091154033884469756478303457459088113721694402593836214049530047756164710261127727463623821208719722395722482552485956323562015491654982678821234175704313162293546294218889979302152076488696369791434748440112781405465900988629420179376390664795394480468106600054649213303525713977368706507749129984241176928120511396543524728970857398035074076339163063091109727573271451287', q: '2348863609949442643954392522483856295808101317894842704279474654318960339400553368009942713633401461027937345006698951426758224910092681236246228619017520243345408665005560091044186954577243888772574380868367264732222615260648904508047721802096858252722400077793818240450190377245632041709527783885606220720227911983585455652715379993906675297437978133212943787226124940391965444695009310429603164659573074229615507372620319827186771990428354436585763867009356586410770001300826665717995754270075109085973639513019788481532843054228465903165160735825369545577016942234878239151728729544056860847201296918107024765023878082355130563863731811910604359861197861241276242978161781007745827491339410617087852156581146773147109444989651076038244348184895717374220056390702732950494314710089688195332397697240234053300027324606651762856988684353253874564992120588464060255698271762364485428699017537038169581531545554863786635725643'}