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: '3696856376310504938564309622414043078206287528983284330853186483615534255664731459228980110567513078874011395690073187625769795659833680273671167352381209147370073118067569466942826289775916842013740677950086901403223901717525261078983265386568262303018524508696228286941473774454610386458454081018131487627685067878547059079661356258958764719706769172828162153869236699630445233608391732112074025804911824781533920729611118160412805138084465699541571138968505862914467145127467316985286709036081823513764316739418971184794321644559974777884597421729366968892953925507194168643638979173976374532793686064872346343762615360286171054761652144894871248091536623039959052519514361444519495188863820039766534890929422649487651319418206891878588055815848944200419900465292813461330366911757222517363419402031296829529436284526824449951573474804654949204072052863637508230740815263808884567162242471035791664514207638604491955005847', q: '1848428188155252469282154811207021539103143764491642165426593241807767127832365729614490055283756539437005697845036593812884897829916840136835583676190604573685036559033784733471413144887958421006870338975043450701611950858762630539491632693284131151509262254348114143470736887227305193229227040509065743813842533939273529539830678129479382359853384586414081076934618349815222616804195866056037012902455912390766960364805559080206402569042232849770785569484252931457233572563733658492643354518040911756882158369709485592397160822279987388942298710864683484446476962753597084321819489586988187266396843032436173171881307680143085527380826072447435624045768311519979526259757180722259747594431910019883267445464711324743825659709103445939294027907924472100209950232646406730665183455878611258681709701015648414764718142263412224975786737402327474602036026431818754115370407631904442283581121235517895832257103819302245977502923'}