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: '4009718176624295691798166226404274757692416552836039410949047541475388854442913181559252761854750574082502508202130150043902004260688913840010172288713537873773193198864550974113064315033136219533915402696321906977469434787894140272189582697569478938785098122149616557802207234174340479969116935576473367557074934571250494123874546603170664811535257510396532825798506551764229341456535165193060947352508042611164347567988169701475287265843125835987866249681618085572132883332321956743350933790074846920384149509425575461333700168101616955390806290342823016658868875680454535234533771792417378761013856844097007373358664317075804589429876049798864457612122234487846571461491542663146628494200431115095779824376675451911249153062124951391064868878372690385092983368625629569442120144160130974667964445348630384403561007654829191893160423420995408446920419818774902071495383253549229967392892864927223639538520515925334182594319', q: '2004859088312147845899083113202137378846208276418019705474523770737694427221456590779626380927375287041251254101065075021951002130344456920005086144356768936886596599432275487056532157516568109766957701348160953488734717393947070136094791348784739469392549061074808278901103617087170239984558467788236683778537467285625247061937273301585332405767628755198266412899253275882114670728267582596530473676254021305582173783994084850737643632921562917993933124840809042786066441666160978371675466895037423460192074754712787730666850084050808477695403145171411508329434437840227267617266885896208689380506928422048503686679332158537902294714938024899432228806061117243923285730745771331573314247100215557547889912188337725955624576531062475695532434439186345192546491684312814784721060072080065487333982222674315192201780503827414595946580211710497704223460209909387451035747691626774614983696446432463611819769260257962667091297159'}