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: '4950321444951319360167554942976560734292528844298751161065093438874612401916851221800245874270055842483379425344709558868470226137019691316260752333491234606578134004308772246794746041412440723834642627442360004919321791796962043117978025041030257447947149243802089506797384884754209794526244860655655371057758251353155699084280642840965536256583169809741982135818260542618919754269680166861731384648605743063883913364877375917258919987242108222535403988762846870519637428355893298040192616370829904542003482522173451754249686003074000656850480719979416831276704777096277847618672001118398651672228452662219100933650651272299466575649704676454933175177893086933282634194427364628116470191577914137264019454151712441520163805298698033903515340812192246903351306359427035386551146176164178325343881546991397175077072247963497758138783187101620540092310523255520735939009328524877316596808266102697903499740077249853143805892943', q: '2475160722475659680083777471488280367146264422149375580532546719437306200958425610900122937135027921241689712672354779434235113068509845658130376166745617303289067002154386123397373020706220361917321313721180002459660895898481021558989012520515128723973574621901044753398692442377104897263122430327827685528879125676577849542140321420482768128291584904870991067909130271309459877134840083430865692324302871531941956682438687958629459993621054111267701994381423435259818714177946649020096308185414952271001741261086725877124843001537000328425240359989708415638352388548138923809336000559199325836114226331109550466825325636149733287824852338227466587588946543466641317097213682314058235095788957068632009727075856220760081902649349016951757670406096123451675653179713517693275573088082089162671940773495698587538536123981748879069391593550810270046155261627760367969504664262438658298404133051348951749870038624926571902946471'}