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: '1036280157069144988212334221682790952061665704992356547605867171201802749250895653550417119258268582463646713531870260204389000709870644323282324263407467432743148147652175444834381991330026916007245343082054057032929802151863867157720631665836538820716264637519038568348319498610596280808509626671371052371846970511609130528538425661924682255354032256619510093259173010208505133936732706757539578258271504135150476926602694360818042040245585277848199084128483039623477600055045399661375454925961619719044955569718565049967502362659607938027916344559398746989179287065535923283418931751765219854996787815211207702185835268426790875277400438948098193616145572421682375781095742131515247207453639290605012589567433115540629497614558226789605803636256056614074802629443871889687273632887229080721479372014071863921835256338811472277912722475915001082297347338315650625915278744908164548083027064406678001814420851468640301835027575276494447710475177873528585443234435339912405221472061032491163639042402686827256648652260345180574652077169784697309496025701408311687462260489091511674471960270297839647987699359633788257551251666603081519630404294602348524190962150373636252699730821299324948689742542271241019173047405989515699341212719', q: '518140078534572494106167110841395476030832852496178273802933585600901374625447826775208559629134291231823356765935130102194500354935322161641162131703733716371574073826087722417190995665013458003622671541027028516464901075931933578860315832918269410358132318759519284174159749305298140404254813335685526185923485255804565264269212830962341127677016128309755046629586505104252566968366353378769789129135752067575238463301347180409021020122792638924099542064241519811738800027522699830687727462980809859522477784859282524983751181329803969013958172279699373494589643532767961641709465875882609927498393907605603851092917634213395437638700219474049096808072786210841187890547871065757623603726819645302506294783716557770314748807279113394802901818128028307037401314721935944843636816443614540360739686007035931960917628169405736138956361237957500541148673669157825312957639372454082274041513532203339000907210425734320150917513787638247223855237588936764292721617217669956202610736030516245581819521201343413628324326130172590287326038584892348654748012850704155843731130244545755837235980135148919823993849679816894128775625833301540759815202147301174262095481075186818126349865410649662474344871271135620509586523702994757849670606359'}