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: '2942698535740245175595011173604114424646016415457592813651385334071884743061340727284724240480862029237477371760540215072221152535579816570037572846896864440476991996577904764593631206138020347318789023771418755649578020944565046431913220805632906023135006105745423029750801800574591996420947242102775396400406939361564821629170087231463457624713632031964538925244012428042956719268686818557647789490766247281658563288247074752494205414270698996181730647633782108530060478547377467114399195876811540361656568128951209817672863801497049128009444685130975362613907461430577974153729880258112814131663213479067244181645073325989412389772323601377456847630506437793781532097932974553913196655967914022636462674329655944637532661211459807874525147615413744810150424580200064584954887067982265821367724631381595390506879087816139761402722319515415414873423684503480433876995637301847828855457160274621247474240345662278666206628807', q: '1471349267870122587797505586802057212323008207728796406825692667035942371530670363642362120240431014618738685880270107536110576267789908285018786423448432220238495998288952382296815603069010173659394511885709377824789010472282523215956610402816453011567503052872711514875400900287295998210473621051387698200203469680782410814585043615731728812356816015982269462622006214021478359634343409278823894745383123640829281644123537376247102707135349498090865323816891054265030239273688733557199597938405770180828284064475604908836431900748524564004722342565487681306953730715288987076864940129056407065831606739533622090822536662994706194886161800688728423815253218896890766048966487276956598327983957011318231337164827972318766330605729903937262573807706872405075212290100032292477443533991132910683862315690797695253439543908069880701361159757707707436711842251740216938497818650923914427728580137310623737120172831139333103314403'}