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: '768274772945268541943441316940194936658284046545860888171161334807961307034325345834650885033169467662577179433722805103808312256598019098609507037460573003458311331226395833016536970579918025113090411742295239187838701421533234840770181532703692262794632333033470363491804755039235644968860973518288616560664255856120050291110065282022782125172601055264878391792253294291552025967466462567796242893131376194150494796038388392784539804310350261615431159043411170269544362233162844720313989556923109666083975088146183949957665553736217175749462613598159713365846429790516998012832174394018277130611806129414720511807690020673348664645152502749169834138546492385644574877270524694720428233850225132048441758508349457275529784135498676891890028253029752307523947671691133557720583835597379136648768354954953160889913198417829789017239501886712417595817241989575719162165285781928986335160298095689735583987366401103319626180024991027990673973740112829081318254633191066424417724307824086277328826860809047908120413342675526313917690442322670866474415749911047325093702256176836183770305482842444684424445710644470960441429695404991991005558549001665590051230336851607828083926571536882214486903234496364045783254679875473067107926948713683599895603774410853390214101075885275297619038514718089642002270920118160768222797345790381195322972465540629526366638389811096744590359427533048786113579167190810671515699551493460019206959585521591305817082741162776607632187511777035571229691121744831585781188780026074719734088408851553595337051935635813653045711854924022694728622914882855678605582944735498868217783359387910562881055136204481665279511679426598426102460560171211645180854180398151237249722857526366183763894502331799421264236754645391024624242959742954124693283973468997707539286909278934091050719320386590287804041757352182306583918545867846249392939106644682232808056029742053447912183010122590342993007186829825009715631891837031145179261927370125006219613037618110585965436835192412350772171420262075385912251236793951885626226415867768326322181287287596595262969528433102224397326274505391853129861087512145802362775870387670152683301955400182797971003590721308477783722544757145960324508873123150016279130014681537422724833355940716006260370819300292191830657968267159564943956916000871573913135913287694339124157355610819344689443649623423444732487900003535395834031022655353837624519139169291570272553798856146475609958668488452417536421484460577594719', q: '384137386472634270971720658470097468329142023272930444085580667403980653517162672917325442516584733831288589716861402551904156128299009549304753518730286501729155665613197916508268485289959012556545205871147619593919350710766617420385090766351846131397316166516735181745902377519617822484430486759144308280332127928060025145555032641011391062586300527632439195896126647145776012983733231283898121446565688097075247398019194196392269902155175130807715579521705585134772181116581422360156994778461554833041987544073091974978832776868108587874731306799079856682923214895258499006416087197009138565305903064707360255903845010336674332322576251374584917069273246192822287438635262347360214116925112566024220879254174728637764892067749338445945014126514876153761973835845566778860291917798689568324384177477476580444956599208914894508619750943356208797908620994787859581082642890964493167580149047844867791993683200551659813090012495513995336986870056414540659127316595533212208862153912043138664413430404523954060206671337763156958845221161335433237207874955523662546851128088418091885152741421222342212222855322235480220714847702495995502779274500832795025615168425803914041963285768441107243451617248182022891627339937736533553963474356841799947801887205426695107050537942637648809519257359044821001135460059080384111398672895190597661486232770314763183319194905548372295179713766524393056789583595405335757849775746730009603479792760795652908541370581388303816093755888517785614845560872415792890594390013037359867044204425776797668525967817906826522855927462011347364311457441427839302791472367749434108891679693955281440527568102240832639755839713299213051230280085605822590427090199075618624861428763183091881947251165899710632118377322695512312121479871477062346641986734498853769643454639467045525359660193295143902020878676091153291959272933923124696469553322341116404028014871026723956091505061295171496503593414912504857815945918515572589630963685062503109806518809055292982718417596206175386085710131037692956125618396975942813113207933884163161090643643798297631484764216551112198663137252695926564930543756072901181387935193835076341650977700091398985501795360654238891861272378572980162254436561575008139565007340768711362416677970358003130185409650146095915328984133579782471978458000435786956567956643847169562078677805409672344721824811711722366243950001767697917015511327676918812259569584645785136276899428073237804979334244226208768210742230288797359'}