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: '1090133230274094847464983501186556788999221207819904218483088552539705476091123793121575486647421607231466718203463690059360440067933949121197939580231904096541534271818258207111854846583771528973893790590807389383030821895914142693093569627939808637178487866545221418614180478574709058844458645471217850359671112192238641524849841708999061223790709644908317259827291061344994113075005292308816195756983058338567410966274040147691949408915409581977577779231746685238948920000905644861744608084810005696581416997976218868359527584392080304065274695096061130154374093448100199640190432812511223938762313985899801340115731074832133412140221619642197947345136442696823533335275844500754312771946526245521082867265181271179688583235567971944461295001188457104547311881530562148118894311833829533370668055744577070704465334767525252429696128626092575896531705778149803686931991328602721132373364367577529587468213908702564704995012190194903348264104420528840850944463969984245187567426060052902312379446409468965982568153145131203270267997713546337548911380294467513889509233065680149907646351814479999184702591178771006533315417838640423257130251373089565514370717532330509620956068202135781260400562784600575734293937604290593160858390451629998520592502545891533678083777492339404623235771623875993317503454477423354251341774119240040034944023758172255758477617901301659452217973173767784551885409198497680114353606855663999804902106077369353852363306828102026641783291177697489232620172053696438237838654037445277980707618114128719063200089126974879266918564654962896679542910626583650400469042894404830017443704189049015070867018224151189289525357654226230969289998247585953533008788542577410016091311943402269203493899125281541327033367258726409603605057966704319525014742011872439925956418659055632723076006047191059876839818365243144720965620761622307217188972443545701220432465095948304228854658698982329253486550805705320743532186254166652626509885351674963560553336428221476247577515782838213529328112851208409262917159075576243089910826235607445986674677332228419412333201474359865247536117393328974703607686443484235389917965021109048473941582149011415978588734289139172173799836011175323677901770974236849103532223650246569976702833527038269026974027477159865450740134980039179897860088968905944984442412371589836731389056242072197203323223854269079765164120463660363647776441942649333174234769754563229059720491533282879652105032056664931864841893374524286603', q: '545066615137047423732491750593278394499610603909952109241544276269852738045561896560787743323710803615733359101731845029680220033966974560598969790115952048270767135909129103555927423291885764486946895295403694691515410947957071346546784813969904318589243933272610709307090239287354529422229322735608925179835556096119320762424920854499530611895354822454158629913645530672497056537502646154408097878491529169283705483137020073845974704457704790988788889615873342619474460000452822430872304042405002848290708498988109434179763792196040152032637347548030565077187046724050099820095216406255611969381156992949900670057865537416066706070110809821098973672568221348411766667637922250377156385973263122760541433632590635589844291617783985972230647500594228552273655940765281074059447155916914766685334027872288535352232667383762626214848064313046287948265852889074901843465995664301360566186682183788764793734106954351282352497506095097451674132052210264420425472231984992122593783713030026451156189723204734482991284076572565601635133998856773168774455690147233756944754616532840074953823175907239999592351295589385503266657708919320211628565125686544782757185358766165254810478034101067890630200281392300287867146968802145296580429195225814999260296251272945766839041888746169702311617885811937996658751727238711677125670887059620020017472011879086127879238808950650829726108986586883892275942704599248840057176803427831999902451053038684676926181653414051013320891645588848744616310086026848219118919327018722638990353809057064359531600044563487439633459282327481448339771455313291825200234521447202415008721852094524507535433509112075594644762678827113115484644999123792976766504394271288705008045655971701134601746949562640770663516683629363204801802528983352159762507371005936219962978209329527816361538003023595529938419909182621572360482810380811153608594486221772850610216232547974152114427329349491164626743275402852660371766093127083326313254942675837481780276668214110738123788757891419106764664056425604204631458579537788121544955413117803722993337338666114209706166600737179932623768058696664487351803843221742117694958982510554524236970791074505707989294367144569586086899918005587661838950885487118424551766111825123284988351416763519134513487013738579932725370067490019589948930044484452972492221206185794918365694528121036098601661611927134539882582060231830181823888220971324666587117384877281614529860245766641439826052516028332465932420946687262143301'}