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: '761548833030828891718593423783374985103946574031365962988296220272056847147572065070791870083475285956364073192352186247438156561306854702176522425914396788233637341171721022298942794342748956375259519875937483605512515732835622019857640758546322297134476752533863553016556357448224660645235457299253472063455322417533555933488660257900321380923802986797431207008490403899816330666070464739438772966871653387726347634072204879389646819537245480636829436572631845873656269581937123595350977889757968523688590655937953693283912457118808127975577852392267187471350778532206541888158907624909117741040978319778321767681060047572455468556956663022168290976104865931228513924067659052257895772732555979383190269290384820603352123698706437137643865076245495535945726461339308929230325055758847016588922403219873211921696779646766642857252949412956857940645792030370163929235718306662472315686815021169502052260732100784371696380359838330524114515834213370667357076870668969800085386490702050163810956321592167275097028807799535090668327720508985511368469411283753669405190514788913816355769640833718158597846429169175854666577571203179597645203325379516291294444925661321605164855280635702288825169445517532568884254147897056700626989622261184288507122779304487546677147075842424782430932916013230916752051962997415697404650347418469086663763777495987998101204500976740478551136515565221466252695482932302627912428221773066176671703926452314224585493656747680273727459498109069135008363528893768906250011795076471999577555528225683034199363585747852134150716743556264480425366248334984146369828127131802548186620472345894011719133565263184272702087318005597158541239362133912407633738972688819824742908087408006238705320656564435100524622258411024858501572099503851529269625339218444344480139851849145307130638125527439996909557395645033326337418870244879595527194481278335775968403091616383151796041880901405859912243358082528808799485870755736581227239730926956788857348279522221296354503614180643538756948973606417754762383928136427062766854438617634549427516161194081410656109868295611009724923098352526464712825231603728979075323179518299285517616355132038257327576333339719576572783105620422856653613138026266945299668342750226334962792373229703295658386147747496512554233109146216377564530712304096320815252632409036335538707749212366385871938603334172462553405611234827841223327293410258503291424938076671955847279194003339732772263476919177897539666412283523319983', q: '380774416515414445859296711891687492551973287015682981494148110136028423573786032535395935041737642978182036596176093123719078280653427351088261212957198394116818670585860511149471397171374478187629759937968741802756257866417811009928820379273161148567238376266931776508278178724112330322617728649626736031727661208766777966744330128950160690461901493398715603504245201949908165333035232369719386483435826693863173817036102439694823409768622740318414718286315922936828134790968561797675488944878984261844295327968976846641956228559404063987788926196133593735675389266103270944079453812454558870520489159889160883840530023786227734278478331511084145488052432965614256962033829526128947886366277989691595134645192410301676061849353218568821932538122747767972863230669654464615162527879423508294461201609936605960848389823383321428626474706478428970322896015185081964617859153331236157843407510584751026130366050392185848190179919165262057257917106685333678538435334484900042693245351025081905478160796083637548514403899767545334163860254492755684234705641876834702595257394456908177884820416859079298923214584587927333288785601589798822601662689758145647222462830660802582427640317851144412584722758766284442127073948528350313494811130592144253561389652243773338573537921212391215466458006615458376025981498707848702325173709234543331881888747993999050602250488370239275568257782610733126347741466151313956214110886533088335851963226157112292746828373840136863729749054534567504181764446884453125005897538235999788777764112841517099681792873926067075358371778132240212683124167492073184914063565901274093310236172947005859566782631592136351043659002798579270619681066956203816869486344409912371454043704003119352660328282217550262311129205512429250786049751925764634812669609222172240069925924572653565319062763719998454778697822516663168709435122439797763597240639167887984201545808191575898020940450702929956121679041264404399742935377868290613619865463478394428674139761110648177251807090321769378474486803208877381191964068213531383427219308817274713758080597040705328054934147805504862461549176263232356412615801864489537661589759149642758808177566019128663788166669859788286391552810211428326806569013133472649834171375113167481396186614851647829193073873748256277116554573108188782265356152048160407626316204518167769353874606183192935969301667086231276702805617413920611663646705129251645712469038335977923639597001669866386131738459588948769833206141761659991'}