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: '933174555777924495463614256406558632987461704901765158738013413777325433912778214723221300116127686902363095408964447065299770987084755507182570066624026860923916874544331366354009695230978613900112112074564481392819617719008190447962538217177249371343456996788173495878614290955105984564237073158226595124880255753649740036330254143275117802996802636994046799755098154794357604947263066170239588434606185274567094677062280427751188436469519417567733486055741002758313539349832822639025364079146796768950384655389701623988352097403149476111885158224653048612998600927789142253304513140316647180923258515809214503437639385473652753482026271270701907735660287889461091315513293700603778616886172937296993714779289401456865072713387681118420718293949194374612051186276217272300687944680299943360294379890200730495570189325133496153099969920548645292374809240809672684242460235396789155812592462243492365286738256118693349007680047528059463192390204390464502684921885818376166532331602115909945478796316073080843822971643094422030842606053450147991198895809147283627149177230680319620060229855276835398560503760187254961416732017149270116989157670661273566878680836449910566538645779258298307999108695867210888290497360872405092159589341740876828127444002911233024045998513372596185217954809376922685179908961786796341861459614002853504616750993938018874904885711773722616256108287829266867656458275479294782104839276490658623142498357644398274076339832227246692868860216418647046519521083898977758191352608496020509879451162768317581509969812802033621476019524176627027709821470074122437730844745577214818995632514677246261331834907263992267293857301552364196911503370293622583735000201690113522746836473916671214431409030012788580127367388874140336128769259302625265172638418021928279804127682038269015901845333355939723826574856493301991776223298419921900886993091126698562593922938701793338310312936386501156488734622033908584655448531581116850290257217646674089677839079995221172533914355480056790023279196280293701606298599236021997981047018055732267876381420189344017658899639620061953494911799544713706003437481316487503558643107610343041323190136590753545209492516823091735924473063354451207719306970877161635146071800932829072947585646113150642188179116787670250359248864085375029810289700332764290159140932477290717791657629156839606245221065528026338083983111642848954328408577548022290273592368326574389608092608704291167653435812076798971952235325133534047', q: '466587277888962247731807128203279316493730852450882579369006706888662716956389107361610650058063843451181547704482223532649885493542377753591285033312013430461958437272165683177004847615489306950056056037282240696409808859504095223981269108588624685671728498394086747939307145477552992282118536579113297562440127876824870018165127071637558901498401318497023399877549077397178802473631533085119794217303092637283547338531140213875594218234759708783866743027870501379156769674916411319512682039573398384475192327694850811994176048701574738055942579112326524306499300463894571126652256570158323590461629257904607251718819692736826376741013135635350953867830143944730545657756646850301889308443086468648496857389644700728432536356693840559210359146974597187306025593138108636150343972340149971680147189945100365247785094662566748076549984960274322646187404620404836342121230117698394577906296231121746182643369128059346674503840023764029731596195102195232251342460942909188083266165801057954972739398158036540421911485821547211015421303026725073995599447904573641813574588615340159810030114927638417699280251880093627480708366008574635058494578835330636783439340418224955283269322889629149153999554347933605444145248680436202546079794670870438414063722001455616512022999256686298092608977404688461342589954480893398170930729807001426752308375496969009437452442855886861308128054143914633433828229137739647391052419638245329311571249178822199137038169916113623346434430108209323523259760541949488879095676304248010254939725581384158790754984906401016810738009762088313513854910735037061218865422372788607409497816257338623130665917453631996133646928650776182098455751685146811291867500100845056761373418236958335607215704515006394290063683694437070168064384629651312632586319209010964139902063841019134507950922666677969861913287428246650995888111649209960950443496545563349281296961469350896669155156468193250578244367311016954292327724265790558425145128608823337044838919539997610586266957177740028395011639598140146850803149299618010998990523509027866133938190710094672008829449819810030976747455899772356853001718740658243751779321553805171520661595068295376772604746258411545867962236531677225603859653485438580817573035900466414536473792823056575321094089558393835125179624432042687514905144850166382145079570466238645358895828814578419803122610532764013169041991555821424477164204288774011145136796184163287194804046304352145583826717906038399485976117662566767023'}