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: '4439844461937102627576453092406554235184680691503767675477545829316472815674727073073684690936661165417706049946448656134286044060293549652099943265663505408318514433601099964266825776005665916387910327408923171433579762722156983834958434914976731767530826639254172551142092001467389745349960621354241731555802330225323637050735607256794639638443654885650429869673757412414403043514344725818132541630828813652953848887450220619116745511312837450803385304590725806859149376578894631919108586519319079937102774051597771603475577218028552778298387094929517974227842090711434158818826636231504838915101714427976593043319603874993112438498918032092682275438082329990648759524541602116673175258076940433524291399932633600547974925831350738222650904962960055103269847780224769482318334465371597593019989176275590021766896120105491745206062894703943512628772282301048333632124473825004418038098305082876682460528411358827168533921783', q: '2219922230968551313788226546203277117592340345751883837738772914658236407837363536536842345468330582708853024973224328067143022030146774826049971632831752704159257216800549982133412888002832958193955163704461585716789881361078491917479217457488365883765413319627086275571046000733694872674980310677120865777901165112661818525367803628397319819221827442825214934836878706207201521757172362909066270815414406826476924443725110309558372755656418725401692652295362903429574688289447315959554293259659539968551387025798885801737788609014276389149193547464758987113921045355717079409413318115752419457550857213988296521659801937496556219249459016046341137719041164995324379762270801058336587629038470216762145699966316800273987462915675369111325452481480027551634923890112384741159167232685798796509994588137795010883448060052745872603031447351971756314386141150524166816062236912502209019049152541438341230264205679413584266960891'}