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: '5396226388802163133410299122012299877939438750850458415412972288041844323702737086963111530104863197617493286939310407760386672603524077909567448868604638722309260653115237525604572721876638189296887400561137745876281912085531293290252969985719814999874537336584431021241515117990095052314339022570913135426364266579670172356512205136776955522767536683314838377994282868501012692744934805077378007290592023325815603762496220254901990337389142362054763809123581060198941505639940378917412727866182505245085855988651720700700498849595513893661665986650270088237951681583094815063492439762096553721199097857135501899350748387007482006503211860294855078260844999921740039773956489776297575058966208434768214612805371023682247353429556952909194496711308573968135430250220571034968570104050639853642881069728703272410558230330821065488780318236155026877575712818997365542929952260470002728500798120868786046769668431217029739691099', q: '2698113194401081566705149561006149938969719375425229207706486144020922161851368543481555765052431598808746643469655203880193336301762038954783724434302319361154630326557618762802286360938319094648443700280568872938140956042765646645126484992859907499937268668292215510620757558995047526157169511285456567713182133289835086178256102568388477761383768341657419188997141434250506346372467402538689003645296011662907801881248110127450995168694571181027381904561790530099470752819970189458706363933091252622542927994325860350350249424797756946830832993325135044118975840791547407531746219881048276860599548928567750949675374193503741003251605930147427539130422499960870019886978244888148787529483104217384107306402685511841123676714778476454597248355654286984067715125110285517484285052025319926821440534864351636205279115165410532744390159118077513438787856409498682771464976130235001364250399060434393023384834215608514869845549'}