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 1.88 kB
module.exports = { p: '4248714831446918505591519183441278970006395248099927070406486455962717429166513708945923650030114203899526399498989342566999998866704918509837784219111268784706432361755223559659716254754728229320600342996697599008863289842433128004530836071916236387797880811790353717972248546135411623793378277997944765786120806253890400309477962136453403612120171167930545093023046386538277696512858650662831127707054668855025602427147233731337497803065760276845145508249151804247543154960066594773212734620582297226643061020626016736005241688253155141950473815965056222489455157116940605206912867515723715862672031628903361744979611779963467043726905991102638562025162415353273657308514914704530580218981076976583515678638054144936985451460760934668031881972548533845816390600572965989222564481749278963025785238704482681611824179736599128928825316978212906196563757480512693883620138001919898525700765440476087401543418995578984574994243', q: '2124357415723459252795759591720639485003197624049963535203243227981358714583256854472961825015057101949763199749494671283499999433352459254918892109555634392353216180877611779829858127377364114660300171498348799504431644921216564002265418035958118193898940405895176858986124273067705811896689138998972382893060403126945200154738981068226701806060085583965272546511523193269138848256429325331415563853527334427512801213573616865668748901532880138422572754124575902123771577480033297386606367310291148613321530510313008368002620844126577570975236907982528111244727578558470302603456433757861857931336015814451680872489805889981733521863452995551319281012581207676636828654257457352265290109490538488291757839319027072468492725730380467334015940986274266922908195300286482994611282240874639481512892619352241340805912089868299564464412658489106453098281878740256346941810069000959949262850382720238043700771709497789492287497121'}