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: '782560633219397070292727271442204888341330328492850630989756908716779641635058120052915733477543051555902574374447216427318698915730030965269941977525035645450443857734381279406412161933851786890665313907796936240742713698106353739543047616406158527962662454049804201149766061669787677743822700625985660313442354711071937898484786517580245749952614219183028294855884562629383026562837117277027699638783275216458309279584232876489550117621174404969502332678174948187918385876885335156567810158166713054390521070226558903983791478847323431376588141599034349499408507238181698194633039469840393977307240459844363649008003470650328438800072016297909657760646085201297804260313484988358414716979970369769976424185826131509589033918293844467448671600517352402712069357882950741185742563964537167895304932150027056468652125272967955356609649018855937204097638648749249013302383554156708403518464907321684937318478632476925889695573615552517110322285659282331445518729980278803556283885758996397779570569669606442689920795062105185714886048848858307337079776525758106265720230528516060159584855751444084061169908747047241498087451902039271993154398237454291439798261298749417583555228551576796488006282084656251177681103203643818612662373263', q: '391280316609698535146363635721102444170665164246425315494878454358389820817529060026457866738771525777951287187223608213659349457865015482634970988762517822725221928867190639703206080966925893445332656953898468120371356849053176869771523808203079263981331227024902100574883030834893838871911350312992830156721177355535968949242393258790122874976307109591514147427942281314691513281418558638513849819391637608229154639792116438244775058810587202484751166339087474093959192938442667578283905079083356527195260535113279451991895739423661715688294070799517174749704253619090849097316519734920196988653620229922181824504001735325164219400036008148954828880323042600648902130156742494179207358489985184884988212092913065754794516959146922233724335800258676201356034678941475370592871281982268583947652466075013528234326062636483977678304824509427968602048819324374624506651191777078354201759232453660842468659239316238462944847786807776258555161142829641165722759364990139401778141942879498198889785284834803221344960397531052592857443024424429153668539888262879053132860115264258030079792427875722042030584954373523620749043725951019635996577199118727145719899130649374708791777614275788398244003141042328125588840551601821909306331186631'}