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