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: '703758594998622452670588605406830039309685599368111537571842904582539094585558769330863017941142141238259305943248315803564367476375001406257444490847816833186925991605134117224963915239862887251226634156065086678784292083634035394943897373431797952514640583445799457456994845455448139498353129520350419944119881120813530716163842836524533543021446429389483130014321573813561454316894866185969543272847912615308723388919286604684041736801032899680363796092259352374522018602103913563991648599393710187665173936381840134054355101875011523131423568138743595752275568248275022399689950151247462853575216038855333432664721838279530557028110766305154827941261014322052509729969479642692060437440635398213227201632375594730355603220145907017743900294308647736142487893095319477472635832229936934878941199561531200101572753720760575894091621146248057861132503325449554954698048413563261277009240205326820768499027309019234676443079482686737057877489316175505230840827613194501604946816648109803429706863756376458849070519246350228198768334868711420705663324925037500241181894457492303996431184477479296489941954672720691606492190856639896479542028522333666549252317103951778738770955122425669939592915788183213541541219288762779005799315363', q: '351879297499311226335294302703415019654842799684055768785921452291269547292779384665431508970571070619129652971624157901782183738187500703128722245423908416593462995802567058612481957619931443625613317078032543339392146041817017697471948686715898976257320291722899728728497422727724069749176564760175209972059940560406765358081921418262266771510723214694741565007160786906780727158447433092984771636423956307654361694459643302342020868400516449840181898046129676187261009301051956781995824299696855093832586968190920067027177550937505761565711784069371797876137784124137511199844975075623731426787608019427666716332360919139765278514055383152577413970630507161026254864984739821346030218720317699106613600816187797365177801610072953508871950147154323868071243946547659738736317916114968467439470599780765600050786376860380287947045810573124028930566251662724777477349024206781630638504620102663410384249513654509617338221539741343368528938744658087752615420413806597250802473408324054901714853431878188229424535259623175114099384167434355710352831662462518750120590947228746151998215592238739648244970977336360345803246095428319948239771014261166833274626158551975889369385477561212834969796457894091606770770609644381389502899657681'}