UNPKG

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
module.exports = { p: '1024546801977855194589490758885095203050196437346922281926441538635192207104234349875988589996684132077624722164013999621672730787928932069385471265078391677976676878398496027916654155551983709995870326010214367698831529284042047975663647452668181784549413475231634464524607951432413661602541785600837718520187659844418776714408077633064540651068386161093774571282479749871999897316426568166741972869850831380778643019354739555684551941814173821276641350883589214003674481537087190987377101744900122417642100248147022810821588058627308550231043765305308515076409151285669713740171424812631859383323366069526680855739197672866995144352667045944702445944209715701819629557575580792787731259596632961709179703346724123872157043935871220558838390862216293702188684727523311927121009558089674049346866693827706301405021696593101507895914269854212729931387779307618010620517770623562654841709741618997303354362726489753901104136354763537304618068320210696662346274289116934792370305132126419994744316365631221851202734981513005564360407646629978351519904031077858628609807331404251310904270952190410743984247294732077711038657411212764936737575652824302350332932229923869758669895686465202089994596626923178304154838959790408617540636398064916331045195068968420512998027123817802286100609554721643163732233757501570257105545228802897080537082856901351962955832459084520962104599853682363955077196291866493544752109671141460998593601331624772202531548349270527024741672360269742606731460333683872233431088339736425646036854406774315287697868805000982674326593463347946080617693708414201344753282200156915144666347472597132921732797009902639278656731434359998314998891715403068612902571022998512067193761431175070555384964079508243920369221440010435511986464224407375259645926961731247310288122706762958679867556945181041535731431366673060648917850122079143227432834627486924576601007797336555164571434972429308037936142355784970911133629716513791690544738208353647030592155197032929980644968289735031809577854587647107584305923121798004194181633612878308843273356598063004375796044779966681172447611013896633637180128671605268378782400397148287281658298533726907398253935721266204668931621536299569668467722107451428094032066730933302268704635949140092159002428450017432779961399081327308031571648044542182880513494276778758795630691139892002359195819546283178873172739071839037207901001111463477893564949769417774330637358972739900297156237658762233683048456869100890092463', q: '512273400988927597294745379442547601525098218673461140963220769317596103552117174937994294998342066038812361082006999810836365393964466034692735632539195838988338439199248013958327077775991854997935163005107183849415764642021023987831823726334090892274706737615817232262303975716206830801270892800418859260093829922209388357204038816532270325534193080546887285641239874935999948658213284083370986434925415690389321509677369777842275970907086910638320675441794607001837240768543595493688550872450061208821050124073511405410794029313654275115521882652654257538204575642834856870085712406315929691661683034763340427869598836433497572176333522972351222972104857850909814778787790396393865629798316480854589851673362061936078521967935610279419195431108146851094342363761655963560504779044837024673433346913853150702510848296550753947957134927106364965693889653809005310258885311781327420854870809498651677181363244876950552068177381768652309034160105348331173137144558467396185152566063209997372158182815610925601367490756502782180203823314989175759952015538929314304903665702125655452135476095205371992123647366038855519328705606382468368787826412151175166466114961934879334947843232601044997298313461589152077419479895204308770318199032458165522597534484210256499013561908901143050304777360821581866116878750785128552772614401448540268541428450675981477916229542260481052299926841181977538598145933246772376054835570730499296800665812386101265774174635263512370836180134871303365730166841936116715544169868212823018427203387157643848934402500491337163296731673973040308846854207100672376641100078457572333173736298566460866398504951319639328365717179999157499445857701534306451285511499256033596880715587535277692482039754121960184610720005217755993232112203687629822963480865623655144061353381479339933778472590520767865715683336530324458925061039571613716417313743462288300503898668277582285717486214654018968071177892485455566814858256895845272369104176823515296077598516464990322484144867515904788927293823553792152961560899002097090816806439154421636678299031502187898022389983340586223805506948316818590064335802634189391200198574143640829149266863453699126967860633102334465810768149784834233861053725714047016033365466651134352317974570046079501214225008716389980699540663654015785824022271091440256747138389379397815345569946001179597909773141589436586369535919518603950500555731738946782474884708887165318679486369950148578118829381116841524228434550445046231'}