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: '888494773323061900727480990807725203266769308418595054531337171033184433877793193827298878306891564595631475482245700525497239442810689950662822584055169956940706362268572419921781003112209980520203591350610534959415101277941212096688066022511693652478829047777343220816808142700695246975738354220535252963093253527483241642502148462529986418090191208166644920199609378844387995774139202824876140780004077557159780294552149930395963270605404430884525515357621470388516156757361235887728088862421215366243381568030181872020835863586256252852447278174471020894648463824326185225858171449420122339211878258959536991026826537110665975138676110298077274618203928620463936686046998191741709378367610277740123647421649560169504979929071470033217383276270655831951487025620935371654205929510473979568119987081344910896020747055429537764837533288824366379632548030769499592676903157366926078878538921432315266194945602242042670018277575737972784928530433025389801690141662184236103778351383126790514613212725990528488576441292178145433969227999819413455614328332467402218474728726309371194426423365306397885327297016357587449702810107175145003701498662815879214662965116636438862675465738691826356513520136257222237991928057470398565191899751676388849024909734232375989283832309699369437733922692048128570691306287639611304736531841283858048763778723845712189353645373118518108321874263804726917156397607884114687428853610702047387594231363803259682562056379672252060368432924931044455534144339072815873210417424489006547038268371174247028318332988907331124019181808005426716042382628924997834573746665151062717982050319480937243791973257728921583996223121688858150244655840856880859006807855310888032472812779747472584454288524334449817428893936892836818489456994363264992525273525909087747899858713122293293407767253968817244125836669408472396957222697020237899299152991466549966151572263102050656331775685712705250497239269448195826899413572896384937453028532176827449270539084091245298314878262570792697036448980464439268205601810083728344091061181235953012207717044639946166639384385022294821406748176996852297207393107069411595107479806861666362958675023548523017358766451790528404877520609914406524911972825674689778795182826230531504788434321776679037940310418739411823004370421871004244601578172397303059662628029911373271606288850365084902329598483602825351136052260499526886497295305920705350388219671214876465033862072343403448049689949997534985222639698455579603', q: '444247386661530950363740495403862601633384654209297527265668585516592216938896596913649439153445782297815737741122850262748619721405344975331411292027584978470353181134286209960890501556104990260101795675305267479707550638970606048344033011255846826239414523888671610408404071350347623487869177110267626481546626763741620821251074231264993209045095604083322460099804689422193997887069601412438070390002038778579890147276074965197981635302702215442262757678810735194258078378680617943864044431210607683121690784015090936010417931793128126426223639087235510447324231912163092612929085724710061169605939129479768495513413268555332987569338055149038637309101964310231968343023499095870854689183805138870061823710824780084752489964535735016608691638135327915975743512810467685827102964755236989784059993540672455448010373527714768882418766644412183189816274015384749796338451578683463039439269460716157633097472801121021335009138787868986392464265216512694900845070831092118051889175691563395257306606362995264244288220646089072716984613999909706727807164166233701109237364363154685597213211682653198942663648508178793724851405053587572501850749331407939607331482558318219431337732869345913178256760068128611118995964028735199282595949875838194424512454867116187994641916154849684718866961346024064285345653143819805652368265920641929024381889361922856094676822686559259054160937131902363458578198803942057343714426805351023693797115681901629841281028189836126030184216462465522227767072169536407936605208712244503273519134185587123514159166494453665562009590904002713358021191314462498917286873332575531358991025159740468621895986628864460791998111560844429075122327920428440429503403927655444016236406389873736292227144262167224908714446968446418409244728497181632496262636762954543873949929356561146646703883626984408622062918334704236198478611348510118949649576495733274983075786131551025328165887842856352625248619634724097913449706786448192468726514266088413724635269542045622649157439131285396348518224490232219634102800905041864172045530590617976506103858522319973083319692192511147410703374088498426148603696553534705797553739903430833181479337511774261508679383225895264202438760304957203262455986412837344889397591413115265752394217160888339518970155209369705911502185210935502122300789086198651529831314014955686635803144425182542451164799241801412675568026130249763443248647652960352675194109835607438232516931036171701724024844974998767492611319849227789801'}