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 4.96 kB
module.exports = { p: '964783396964714828884999585012632817655739670472407004745900986789527850133873049836124116684048336595041218953820982499681725636928795903526808756205409359989609283965935290852419072936111118681142151778204477915068807841578450518193749448345545366949373211554946692944969074328194369418418415379702868028177456049440463437203521424464448401085433471455738280472299142990857717803382223044991901505104641977614042551285429391015262829923933433141830488648712145791495914149378963656479547274977181081205941116367033964317666951414189128242756010480148873250512997635538583397907277035155212221187043714030439711195857658183567509975660176658834603183971597573441825667585597055712758727137957219427312117310243916525970937486004827564753968830094280595446826875441299332233573482909648284868841062631973695335976952959293244420366179132120624295826233110196110460533262074365307017682841056979590279129462113835294574273912111024826465540805659154165410319735262408396339217617417889195602635279457030473147529161698057688859068561499860922025873367193033930328405786589526427364984034575284732927560003244387575151733840904715618482543703465983691936289524224205019087211521668961710540991018245735192030756223746601340184657107805550617241409998912165451920770335514773830221428299762469052313870411000977831498209143433124510997637662537241144015459900290203732480402133074069137369614611526285512410854142786684426520579049601425954424615270969411896498287787853107405274494912230287462132480479563578473637936489791504075212395453513631987251700286235430138033606212228319329975926472486171621617440410201439515017349239877589619926215797385097984284443873630085806180797665994804410782899136742512380487682995154464430222105543207807978405692812339163269521590291045816612791423316594244521667082213678486973956992544853158818777952540008206895620524128007566454664451286010278534970230572927094145550172832898262703356460320343952196351480048710754804887480898978462657292925526651136918364520660465114058160050266581469193825514483913512766781695657099890900336671603667816993758488874141568767502123234515215511618813131220055534425691519510346538403910159361182144796158226389371284604077517680720303809919649629911524819033164397535334813940023699883327117825085799405345554233244247415218732316282715518937156175151878831279146744194400638673273789520678740719641430243359325853277079673471979752276999158377342423001042302411446920700209737205884443283', q: '482391698482357414442499792506316408827869835236203502372950493394763925066936524918062058342024168297520609476910491249840862818464397951763404378102704679994804641982967645426209536468055559340571075889102238957534403920789225259096874724172772683474686605777473346472484537164097184709209207689851434014088728024720231718601760712232224200542716735727869140236149571495428858901691111522495950752552320988807021275642714695507631414961966716570915244324356072895747957074689481828239773637488590540602970558183516982158833475707094564121378005240074436625256498817769291698953638517577606110593521857015219855597928829091783754987830088329417301591985798786720912833792798527856379363568978609713656058655121958262985468743002413782376984415047140297723413437720649666116786741454824142434420531315986847667988476479646622210183089566060312147913116555098055230266631037182653508841420528489795139564731056917647287136956055512413232770402829577082705159867631204198169608808708944597801317639728515236573764580849028844429534280749930461012936683596516965164202893294763213682492017287642366463780001622193787575866920452357809241271851732991845968144762112102509543605760834480855270495509122867596015378111873300670092328553902775308620704999456082725960385167757386915110714149881234526156935205500488915749104571716562255498818831268620572007729950145101866240201066537034568684807305763142756205427071393342213260289524800712977212307635484705948249143893926553702637247456115143731066240239781789236818968244895752037606197726756815993625850143117715069016803106114159664987963236243085810808720205100719757508674619938794809963107898692548992142221936815042903090398832997402205391449568371256190243841497577232215111052771603903989202846406169581634760795145522908306395711658297122260833541106839243486978496272426579409388976270004103447810262064003783227332225643005139267485115286463547072775086416449131351678230160171976098175740024355377402443740449489231328646462763325568459182260330232557029080025133290734596912757241956756383390847828549945450168335801833908496879244437070784383751061617257607755809406565610027767212845759755173269201955079680591072398079113194685642302038758840360151904959824814955762409516582198767667406970011849941663558912542899702672777116622123707609366158141357759468578087575939415639573372097200319336636894760339370359820715121679662926638539836735989876138499579188671211500521151205723460350104868602942221641'}