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: '4146863351779526152886311445814054829581682477831362389260568161579310129339940877864958113589460443308746482286210990755972422487995512067647105952807189501720438907425654725308986707181716365222555958059206432209308731322708440076172626730885184889557496581483169644049024564064709711668196442713678206778187645717879575147494570972633751940353685375458421862444124660370384100000126130397530656098669284398499472398938087697470328075229995549795447058967965814812348946542020598460338817962184950364527535596139500732810369733152663537344496155349087676127241172556946938640342649845464403746279983513949722773235428102657303116875848987290721648707271445346197715655687714665860653542054308567958552900538910585230783257593744502414259083573423452111606417020126958906723202395098089568784299186250753626395432011365682542452562488552200262852582296443227186576249392421451873168562358497754192486139063256173385730549079', q: '2073431675889763076443155722907027414790841238915681194630284080789655064669970438932479056794730221654373241143105495377986211243997756033823552976403594750860219453712827362654493353590858182611277979029603216104654365661354220038086313365442592444778748290741584822024512282032354855834098221356839103389093822858939787573747285486316875970176842687729210931222062330185192050000063065198765328049334642199249736199469043848735164037614997774897723529483982907406174473271010299230169408981092475182263767798069750366405184866576331768672248077674543838063620586278473469320171324922732201873139991756974861386617714051328651558437924493645360824353635722673098857827843857332930326771027154283979276450269455292615391628796872251207129541786711726055803208510063479453361601197549044784392149593125376813197716005682841271226281244276100131426291148221613593288124696210725936584281179248877096243069531628086692865274539'}