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.27 kB
module.exports = { p: '31203579390128961262919470644722881374483423262054699828019416745464917120632787526945792281225701947989660576329214415088683909973466320439237319467195866990025267768643736219852790515047679071899186877830780819205830794952422964380986865231524181421861982099698041367462182011048391244949272818388868491474590189009967514634877188304919120024232666976774614586100950649596991793037027174793094490943323185496486248228357855103592068834161102230457076236282391762202150377862599279866568230781030762013888280657733381705220584238221004967615548755775122370893599884672326370039539050535767706719580656844847077253103', q: '15601789695064480631459735322361440687241711631027349914009708372732458560316393763472896140612850973994830288164607207544341954986733160219618659733597933495012633884321868109926395257523839535949593438915390409602915397476211482190493432615762090710930991049849020683731091005524195622474636409194434245737295094504983757317438594152459560012116333488387307293050475324798495896518513587396547245471661592748243124114178927551796034417080551115228538118141195881101075188931299639933284115390515381006944140328866690852610292119110502483807774377887561185446799942336163185019769525267883853359790328422423538626551'}