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: '1063836395177692562559821651273180883468180490796948932305588916317561193563989704385635005015243015434262479974213321042780152239312059174953600638657067887397399428591090621920746882133423655224205907035541785861343538716535329368641235835880193636218221887721793974568866275767893138717509778257571285657898395275700381326417062973529877100967607896481949871374376431698949241158641549357209314367775651716052324501064504759969381238083072724032305146234491702347127101385343493267267877708088422001187843925261316864785165795109654167772191933353541684208682727271737504349212112178308554990591109779625606982359440012704805119512992498297572992481337174074291577922290708024602232151240472669811040746546971364512423297805898198323056460456942102699168948351518190972411108093461293221684950068646511792953335309510170393097290434813346526118641738129884707315536665129269646485626152522844241862843737535124759960994758645386261629197781553437640365508773721826750688866667188784218199424056491163914710577770708778176976133053701508641362474463162125622604423266714540769259979202240053684368132099408188645203150777743293486479256150300511278964143201876027339143416467656616095519326793925430162759852196884708437530506205889862393434707919977458356661897454517624212107911337319574319258317134626859460820915159340201294817471055147670037357427030198063504225779532644104372265186675400426839308481768617920146184341774129137493087732231824120386479714178773098903235048539495149899035654827592087218040116693788928772784865367276218201459455261231332610713086539943458441516679151884057253700985809365402411090117316680753989396539686852162341865396690880356961498048661446060871396140038454927939099512570910539827315420709139290950331794077842012182344726555253133264543868598222831387042953042336292556723341541530366072287620627647932533704714955296046385111495632677985472025253646441600327806368396981397129882685489219906443610396736162306876538657492415460431496148110590851829286516420622533853216893949305196336678027641337444822821074824206890071451370844176849422794025860514748323888576576127043875159741399998086965694208893225626878685445072294460982163257245352231571715694349615019438141060008496029911453619281743256485020403423334244735140476085005796790017916900192646736995103329411506641624533717830207091572480704255811433948769031554774166939367671082138612340670110164927823370078363324801902896180632774069662284740157478711411343', q: '531918197588846281279910825636590441734090245398474466152794458158780596781994852192817502507621507717131239987106660521390076119656029587476800319328533943698699714295545310960373441066711827612102953517770892930671769358267664684320617917940096818109110943860896987284433137883946569358754889128785642828949197637850190663208531486764938550483803948240974935687188215849474620579320774678604657183887825858026162250532252379984690619041536362016152573117245851173563550692671746633633938854044211000593921962630658432392582897554827083886095966676770842104341363635868752174606056089154277495295554889812803491179720006352402559756496249148786496240668587037145788961145354012301116075620236334905520373273485682256211648902949099161528230228471051349584474175759095486205554046730646610842475034323255896476667654755085196548645217406673263059320869064942353657768332564634823242813076261422120931421868767562379980497379322693130814598890776718820182754386860913375344433333594392109099712028245581957355288885354389088488066526850754320681237231581062811302211633357270384629989601120026842184066049704094322601575388871646743239628075150255639482071600938013669571708233828308047759663396962715081379926098442354218765253102944931196717353959988729178330948727258812106053955668659787159629158567313429730410457579670100647408735527573835018678713515099031752112889766322052186132593337700213419654240884308960073092170887064568746543866115912060193239857089386549451617524269747574949517827413796043609020058346894464386392432683638109100729727630615666305356543269971729220758339575942028626850492904682701205545058658340376994698269843426081170932698345440178480749024330723030435698070019227463969549756285455269913657710354569645475165897038921006091172363277626566632271934299111415693521476521168146278361670770765183036143810313823966266852357477648023192555747816338992736012626823220800163903184198490698564941342744609953221805198368081153438269328746207730215748074055295425914643258210311266926608446974652598168339013820668722411410537412103445035725685422088424711397012930257374161944288288063521937579870699999043482847104446612813439342722536147230491081628622676115785857847174807509719070530004248014955726809640871628242510201711667122367570238042502898395008958450096323368497551664705753320812266858915103545786240352127905716974384515777387083469683835541069306170335055082463911685039181662400951448090316387034831142370078739355705671'}