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: '593424268538242064360954772211165280000420478034754371941492465640951131484641545736273891934926731455657650339712103897086053569585134888146302458233454821969018683821229132176666060743033219568043742502102143623402490496116515114896620657297855818491689046524494344527093023546118215327232802643624700708107316511402030487004076596606130822166241868639238540100496874434052670548050753297950273611139651530570593974722161413756031960329815717481155164573676697846224323852994924793820177756835723262013091987732320912477330004415104583717581041020641699446368414939403035484688873011148027357286148980397644347972586674268227525265023055319982550626868299007347315570442105220701240642226149951337870514968802957928771626937466387241538405416621347501387387535587723637862029560576057358768563123458426160047988632341656178640986148703021029098646287893975796655400269508116921942199894746602284832501895297119751504119532007517583842557589258289699991942682979132844051964826652361135613860714419672462986553438903855141066581281589800902784330733784843401726517761034530802280671498220063187217764767147099628480893744675668834492042377349482736616671404127347970439033061838120084391790354306075496592918347991468816665034407787', q: '296712134269121032180477386105582640000210239017377185970746232820475565742320772868136945967463365727828825169856051948543026784792567444073151229116727410984509341910614566088333030371516609784021871251051071811701245248058257557448310328648927909245844523262247172263546511773059107663616401321812350354053658255701015243502038298303065411083120934319619270050248437217026335274025376648975136805569825765285296987361080706878015980164907858740577582286838348923112161926497462396910088878417861631006545993866160456238665002207552291858790520510320849723184207469701517742344436505574013678643074490198822173986293337134113762632511527659991275313434149503673657785221052610350620321113074975668935257484401478964385813468733193620769202708310673750693693767793861818931014780288028679384281561729213080023994316170828089320493074351510514549323143946987898327700134754058460971099947373301142416250947648559875752059766003758791921278794629144849995971341489566422025982413326180567806930357209836231493276719451927570533290640794900451392165366892421700863258880517265401140335749110031593608882383573549814240446872337834417246021188674741368308335702063673985219516530919060042195895177153037748296459173995734408332517203893'}