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: '958772562507157761490771490486548434902225799660798448969400682163546991392749323128465119332679315602964770179667701787402528903501087570732291287012690533624306486276320155580115240764562094876822059175386105072223819995435283633472521681813567484522699526779221950360789698139266603729481613758134879063898903490216953162672684225408906092886134789294352997556837214653111518892286316670304920522373347078767312913662017411235316173804490727124424003837674988909774694093321412599075492259108760438997274986122607974812413490058826548243900789530927516137843826589632739800573810177882557688200949637370677974840717857643403549230153376115772925913948057851048375387968515763609254259154944266601131298665753082890758847499275485226134803683820069950574755198401048764586885747579765451578135439783378592785259813381248120123427998773936837900676775162198452849989465326419631029152946250088670512069871489374483122009117781816989978341890723959717169473222098072791730520644929693161229701643949318853437378972242051286028301746449551732507187049691042839439907620017113734152238529567193913365085858091845774700455482468183367042279545867819698808507613798845193804631944431734889136229149977139607487673067505251044033082606803', q: '479386281253578880745385745243274217451112899830399224484700341081773495696374661564232559666339657801482385089833850893701264451750543785366145643506345266812153243138160077790057620382281047438411029587693052536111909997717641816736260840906783742261349763389610975180394849069633301864740806879067439531949451745108476581336342112704453046443067394647176498778418607326555759446143158335152460261186673539383656456831008705617658086902245363562212001918837494454887347046660706299537746129554380219498637493061303987406206745029413274121950394765463758068921913294816369900286905088941278844100474818685338987420358928821701774615076688057886462956974028925524187693984257881804627129577472133300565649332876541445379423749637742613067401841910034975287377599200524382293442873789882725789067719891689296392629906690624060061713999386968418950338387581099226424994732663209815514576473125044335256034935744687241561004558890908494989170945361979858584736611049036395865260322464846580614850821974659426718689486121025643014150873224775866253593524845521419719953810008556867076119264783596956682542929045922887350227741234091683521139772933909849404253806899422596902315972215867444568114574988569803743836533752625522016541303401'}