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: '679917115749911849669864521875091447722928056420630295060255186396504450406910328179328854448971287794997454793372385914091757890203629370994117698926883617599741324187241877140666677070988919231522596429671617967703985239144554599569814805267622312864207185111105923628870028105266467527037266780968137413396904928179496915033539864160269466733413993188720657220958548106310307568060124744898687365036796732908876556295729335030753526451442466524573509693257837118114893954298333372216857931796056166543915456722664444718539096896551072425825451255495142615754370515200920432827571419676380249727658786287966249711814112813068619955342763752916329350949924828924667000792680046954847103113466292182372262143263998629212156405149137395488795958895348433294299549257133212653040949796579005600745481566154110765189060464994529931034585128537077285208279158885535642074901722584342517890218882230896584626863072768926759090338875409168784456043405458637885304297678174810240268512542616273117199018817246854023149777370897720882673747250964570667364266600969240290603073318935048730123114701660696152247016835556073048577672546051669440424315775172228264944774531953275336141540047876010283648669665113601266828052212442738150132144903', q: '339958557874955924834932260937545723861464028210315147530127593198252225203455164089664427224485643897498727396686192957045878945101814685497058849463441808799870662093620938570333338535494459615761298214835808983851992619572277299784907402633811156432103592555552961814435014052633233763518633390484068706698452464089748457516769932080134733366706996594360328610479274053155153784030062372449343682518398366454438278147864667515376763225721233262286754846628918559057446977149166686108428965898028083271957728361332222359269548448275536212912725627747571307877185257600460216413785709838190124863829393143983124855907056406534309977671381876458164675474962414462333500396340023477423551556733146091186131071631999314606078202574568697744397979447674216647149774628566606326520474898289502800372740783077055382594530232497264965517292564268538642604139579442767821037450861292171258945109441115448292313431536384463379545169437704584392228021702729318942652148839087405120134256271308136558599509408623427011574888685448860441336873625482285333682133300484620145301536659467524365061557350830348076123508417778036524288836273025834720212157887586114132472387265976637668070770023938005141824334832556800633414026106221369075066072451'}