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 2.5 kB
module.exports = { p: '770857294740433013242719790924192052358947050677119068140474892475945666001824629551005857955457177315536204885600228594052701833070442864101980948336916665911182635222795472279550084456633795751877437537685417362527442372578755467758678609709874132373116872109456684127470406098170369092363323910168369878196644604845123966472056631713604311741303287387465530269495945463791028390147524952232018475506389227303432744994815722347169587959920777579168719889549868498861926800538129430069948701957107358552082814516916212259172501057005916074306678295404404552917873112571185427682343791406035801774954240495573277965197406447680145510519971475207674630043735684496565737333172483036966664381123708280190217221893557392296653061989202047011088727213890649172833403525175850033740109035522030416629918311982783305456896573052276372037748852268648952061704774204551446976068754229404053073112780140841242214681602010713047272324637210594030523520237433981781626006682916728740066349117320574017726404573628077843733491650527855341831819305087443829196029906316709471857898139609921321225907380838825776001518286372247426708557007737347373543652845929619605043322953426611802582379080452854916974157063382394838116804219404159243961157939', q: '385428647370216506621359895462096026179473525338559534070237446237972833000912314775502928977728588657768102442800114297026350916535221432050990474168458332955591317611397736139775042228316897875938718768842708681263721186289377733879339304854937066186558436054728342063735203049085184546181661955084184939098322302422561983236028315856802155870651643693732765134747972731895514195073762476116009237753194613651716372497407861173584793979960388789584359944774934249430963400269064715034974350978553679276041407258458106129586250528502958037153339147702202276458936556285592713841171895703017900887477120247786638982598703223840072755259985737603837315021867842248282868666586241518483332190561854140095108610946778696148326530994601023505544363606945324586416701762587925016870054517761015208314959155991391652728448286526138186018874426134324476030852387102275723488034377114702026536556390070420621107340801005356523636162318605297015261760118716990890813003341458364370033174558660287008863202286814038921866745825263927670915909652543721914598014953158354735928949069804960660612953690419412888000759143186123713354278503868673686771826422964809802521661476713305901291189540226427458487078531691197419058402109702079621980578969'}