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
JavaScript
module.exports = { p: '919315551896262244735949471059376278176294062944386656768231332681743418013394507186792756114148932122795240411355594689448106786654954723372742071110036216684872235226888034008660213637144127885061518267803428772742208070844293897592945274660656998804491303570244270732040503687554651478609396194139651949752034949472321288900105885696601588256961514550936499922739454439828397056710572491682146011141370487231206556740272381296629848362991897577414025735858162867446486928522260261719329520974789003708611689301098009185982159418076817858502264169490910483939792147263147517178087840892159083382420218333739802300286682575392027530129615033218059714995586088061730005202531318686843840837174745328072956503079800770416718428698187059506302981615529650833689310081347079052758429971479658196752312261581240752258700850212628726176763741451310844696971813680369542260036207962413088788295585380402442376059159067164928778973263979046934707024408490299113373613859340604495319193411970245105361352290827374283278451769294554980183247474120966949178802964301684039390609184021025791605259514633190778711357353992847730764826422209487444086141402104556608229798573538942978960822697254989888039883520874217661177326138969892779472701483', q: '459657775948131122367974735529688139088147031472193328384115666340871709006697253593396378057074466061397620205677797344724053393327477361686371035555018108342436117613444017004330106818572063942530759133901714386371104035422146948796472637330328499402245651785122135366020251843777325739304698097069825974876017474736160644450052942848300794128480757275468249961369727219914198528355286245841073005570685243615603278370136190648314924181495948788707012867929081433723243464261130130859664760487394501854305844650549004592991079709038408929251132084745455241969896073631573758589043920446079541691210109166869901150143341287696013765064807516609029857497793044030865002601265659343421920418587372664036478251539900385208359214349093529753151490807764825416844655040673539526379214985739829098376156130790620376129350425106314363088381870725655422348485906840184771130018103981206544394147792690201221188029579533582464389486631989523467353512204245149556686806929670302247659596705985122552680676145413687141639225884647277490091623737060483474589401482150842019695304592010512895802629757316595389355678676996423865382413211104743722043070701052278304114899286769471489480411348627494944019941760437108830588663069484946389736350741'}