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 2.5 kB
module.exports = { p: '541415627639771990842524180658226576628624674724354894328205778071489067286554101874027570881126158893672480068979893723111067325464787297104174031010044765262801138537931473113769286006279995649271855015166909129866240529912127232170975639747686546566731215726909549935909584094577970501867931689050461173871792000527640051279221301264600638670639311012442592323196841887225656882073390293824708914970735112187393687316428604755494883696273882723632296503060891852205034715858961946035634627452591402579980349109364621629937809343201225199187125844302883075582017164697777424247234543157529783812712374038333720817810039296457386870146603428127088846823809147941935565807843878131177768245112544951315916453435275429888310910802431792889867282090410296123203565191985359933301151219710261663734040974239264812815939924532769357331269576887798786318739328391525356644942223986000179407272632019535477092662932417687602369287198941501623516179290109123370856100446955843073948697353814245994172145258848920891566707507700159757479222142207661808551138835732592253049265015348980113574211028012934592532229033946331278286328552044947358872568519751035263223295863186084514786263528195342486589177460216821871047403171800864939564926463', q: '270707813819885995421262090329113288314312337362177447164102889035744533643277050937013785440563079446836240034489946861555533662732393648552087015505022382631400569268965736556884643003139997824635927507583454564933120264956063616085487819873843273283365607863454774967954792047288985250933965844525230586935896000263820025639610650632300319335319655506221296161598420943612828441036695146912354457485367556093696843658214302377747441848136941361816148251530445926102517357929480973017817313726295701289990174554682310814968904671600612599593562922151441537791008582348888712123617271578764891906356187019166860408905019648228693435073301714063544423411904573970967782903921939065588884122556272475657958226717637714944155455401215896444933641045205148061601782595992679966650575609855130831867020487119632406407969962266384678665634788443899393159369664195762678322471111993000089703636316009767738546331466208843801184643599470750811758089645054561685428050223477921536974348676907122997086072629424460445783353753850079878739611071103830904275569417866296126524632507674490056787105514006467296266114516973165639143164276022473679436284259875517631611647931593042257393131764097671243294588730108410935523701585900432469782463231'}