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: '524677384048581548654824069068829117728134822802598995882904265276396251189760666019241569027646936485365136653255970826406181800677007693485864440091933572599501416062769549353053121135463501687334953434760994262042719144399047504060881212130827829788730862799361201176678384578722540367188734757212142560946891434291595817817901528700391644667622248731588213581802578263791687398620917134085979899037010841819446711845138828196073136085388670818083630566554278968220632100571818233271526200706015996473133257010839361403396439953553350722154041319246616910652523841988160721518937562902656946192371275124136623773972534686549091598852449291883907202221927215052254839507778732404504603635833349227907214338879037853543219319856191848442855799912643233365637557172012922253530556430718165821012203297142936142219301415205910924069990506824881160356075872282018479044249621375793094175201659276555703973078879211938879578029940951555148097231857841085241974768794567215032225312333864937559974894019944264029898928806596259811857235655583802958942975402679428729021303984131316820678596004270952376342108062973512880457891844119219290296425233926307451816845231158202295243882614381822639806040337600538561545481295280927575565195147', q: '262338692024290774327412034534414558864067411401299497941452132638198125594880333009620784513823468242682568326627985413203090900338503846742932220045966786299750708031384774676526560567731750843667476717380497131021359572199523752030440606065413914894365431399680600588339192289361270183594367378606071280473445717145797908908950764350195822333811124365794106790901289131895843699310458567042989949518505420909723355922569414098036568042694335409041815283277139484110316050285909116635763100353007998236566628505419680701698219976776675361077020659623308455326261920994080360759468781451328473096185637562068311886986267343274545799426224645941953601110963607526127419753889366202252301817916674613953607169439518926771609659928095924221427899956321616682818778586006461126765278215359082910506101648571468071109650707602955462034995253412440580178037936141009239522124810687896547087600829638277851986539439605969439789014970475777574048615928920542620987384397283607516112656166932468779987447009972132014949464403298129905928617827791901479471487701339714364510651992065658410339298002135476188171054031486756440228945922059609645148212616963153725908422615579101147621941307190911319903020168800269280772740647640463787782597573'}