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: '856380789444040015743318021336203565927597883102889124585921007803125376156254628909877347122078319686126012150669260988358001112421038021876511839173388039018714009388108879582397167838521043655205720564224070163995667247212532491090160569994587312830854333220340938891315875833625126386188196970189554548008778704581715079441832576920636108797876092748887548492926484245219709054594716863134487072325283375599265324555836409098234123557255291099339989028148160698445737698461480385668032033015904153453459882212063639895352303141897372186045014768775227407135666132580730763659305289886217167080086995594774947690644606773621726057738080914893638299821884185398789545136072163910567873117880300131386322568083754524291651675339222548089642961210047789483286364503286344098088931824710220098532830024602511524070581032985810955371668397145162446586493447610202920544926865314190811209504978270463532483014873313398934738997500729697244478733672284847539857448711934397248696695993933737078638945156269563989608287834846096626110030863731624821268275855181871891788848968996503595153999006621397280659953596256520708006354686994245746322986609187530799348096202187559948492760475691848746740975674226406084936811231822073451621934759', q: '428190394722020007871659010668101782963798941551444562292960503901562688078127314454938673561039159843063006075334630494179000556210519010938255919586694019509357004694054439791198583919260521827602860282112035081997833623606266245545080284997293656415427166610170469445657937916812563193094098485094777274004389352290857539720916288460318054398938046374443774246463242122609854527297358431567243536162641687799632662277918204549117061778627645549669994514074080349222868849230740192834016016507952076726729941106031819947676151570948686093022507384387613703567833066290365381829652644943108583540043497797387473845322303386810863028869040457446819149910942092699394772568036081955283936558940150065693161284041877262145825837669611274044821480605023894741643182251643172049044465912355110049266415012301255762035290516492905477685834198572581223293246723805101460272463432657095405604752489135231766241507436656699467369498750364848622239366836142423769928724355967198624348347996966868539319472578134781994804143917423048313055015431865812410634137927590935945894424484498251797576999503310698640329976798128260354003177343497122873161493304593765399674048101093779974246380237845924373370487837113203042468405615911036725810967379'}