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: '961063164964017088812311424823425423087328194375002339257116168704992757866409038856344407507866908333689098143734131372944138877441871953143733883961733747700059586475375696280966837349753172743596360658897535928705597572968040682577812350236811644267547025561978303531826822486489618084437894012096132703050688094772698375114378232912418656172242859700430602752747022648410782725795649349989511733628351441590276949756483482382556866649151374633584009288089130217051231247156313684997184124895327126911125985464305588907219192212387258840675283786327473918206071655143097777195460227537765172007489907252459286131419363127269962891465515848989673922477579287105721434228454429793942984507436046575115878133849100800704450181593158163747375061387357618211298962810100586978128161004812454359572036245622979408391264830738136053725820783345614900058875879100007891800228965324900937406511364423351177647353729252277351054298446167328743057248248826961717867699462425980980702824434519945898429619824598784220255476544245059735306300132016005673303689182355126164104028883405703797231057618688591965341890336634405008300435171462096807885668270246399876674188505992500155582093675492864959844720217584351554499512703712026917446585487', q: '480531582482008544406155712411712711543664097187501169628558084352496378933204519428172203753933454166844549071867065686472069438720935976571866941980866873850029793237687848140483418674876586371798180329448767964352798786484020341288906175118405822133773512780989151765913411243244809042218947006048066351525344047386349187557189116456209328086121429850215301376373511324205391362897824674994755866814175720795138474878241741191278433324575687316792004644044565108525615623578156842498592062447663563455562992732152794453609596106193629420337641893163736959103035827571548888597730113768882586003744953626229643065709681563634981445732757924494836961238789643552860717114227214896971492253718023287557939066924550400352225090796579081873687530693678809105649481405050293489064080502406227179786018122811489704195632415369068026862910391672807450029437939550003945900114482662450468703255682211675588823676864626138675527149223083664371528624124413480858933849731212990490351412217259972949214809912299392110127738272122529867653150066008002836651844591177563082052014441702851898615528809344295982670945168317202504150217585731048403942834135123199938337094252996250077791046837746432479922360108792175777249756351856013458723292743'}