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
JavaScript
module.exports = { p: '891219455967799158325600646627332015783406263665972830845045317002322920431606782638363899270574638905862826600724072000041468741886156754003381765096449090676420291701486340504138485853487117719427473457221713993182829070509219819682625630642778466392214145188430529721366907746713252850711993947427030943479559400636131159098477319364591932526089632849323358579257743251254893054279494457910713897273064906772411699410965106897308562882294806984430118879485197400627194954706978145707136199446618745485514150880500324168853651982937862333890683458847375179882209260627700135082988504240547167761125165606903169285046750596803773268905758964055833099279373585575174647337659564723338349421979689834505604622007802735622850044696653468859037259331502623731381732402599882427262452603405426884730892368278299602813095880495301953056798366465098066151323406150377294796584466276777177578804490174438922012707554841133190993855593062819976083371743349177432005300598271146464280267818250030354152877872582081019629101592137697476461952753940469999361239643741889425380249760440856360730950933754647009906962442065901098958476972806965723081035217395572792052966562224931810160283091844694678536119757864065346769084126809342116059072103', q: '445609727983899579162800323313666007891703131832986415422522658501161460215803391319181949635287319452931413300362036000020734370943078377001690882548224545338210145850743170252069242926743558859713736728610856996591414535254609909841312815321389233196107072594215264860683453873356626425355996973713515471739779700318065579549238659682295966263044816424661679289628871625627446527139747228955356948636532453386205849705482553448654281441147403492215059439742598700313597477353489072853568099723309372742757075440250162084426825991468931166945341729423687589941104630313850067541494252120273583880562582803451584642523375298401886634452879482027916549639686792787587323668829782361669174710989844917252802311003901367811425022348326734429518629665751311865690866201299941213631226301702713442365446184139149801406547940247650976528399183232549033075661703075188647398292233138388588789402245087219461006353777420566595496927796531409988041685871674588716002650299135573232140133909125015177076438936291040509814550796068848738230976376970234999680619821870944712690124880220428180365475466877323504953481221032950549479238486403482861540517608697786396026483281112465905080141545922347339268059878932032673384542063404671058029536051'}