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: '5451133965815040649179559284552428397980621725204019117160918425856273879101228212658738166397769190550630520319087155423982295430513577660878802743169960432327159923508019792117513308993931981041120085909782516916737113391520953493233504974909053348080302429956792673881104981594830637130577841001413501241074230231068841732058002039097552076315149204897099705599536669153552421607374883498342188368690285140355375840653341892854755423266149886017277692911988010378013162993331501882248067436687774083511100961747173438649773263352588808725618949811180425452205443296408460677611664390897107823759103550659455458422447611997179939140844658085048642535854124977125663858538353445057439635081540253932410658280238537905719723430137149765857317619847185316445824118080497269250341744629626319681870320076025796554856188096860711781595308191172088834120701836576953788894220885520131767056255072389226077030405657743949114699719', q: '2725566982907520324589779642276214198990310862602009558580459212928136939550614106329369083198884595275315260159543577711991147715256788830439401371584980216163579961754009896058756654496965990520560042954891258458368556695760476746616752487454526674040151214978396336940552490797415318565288920500706750620537115115534420866029001019548776038157574602448549852799768334576776210803687441749171094184345142570177687920326670946427377711633074943008638846455994005189006581496665750941124033718343887041755550480873586719324886631676294404362809474905590212726102721648204230338805832195448553911879551775329727729211223805998589969570422329042524321267927062488562831929269176722528719817540770126966205329140119268952859861715068574882928658809923592658222912059040248634625170872314813159840935160038012898277428094048430355890797654095586044417060350918288476894447110442760065883528127536194613038515202828871974557349859'}