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
JavaScript
module.exports = { p: '1035357910272462149675566713809247864767043873442075139553431134548355581339606544078923240641046632592697378901199782042560031950838578719542331733361965711993063090709757390976833586898177971811752733348038380277150122088891487899864783276071610009191000295897202166996187180883376168954661635830728776509567412874401255533143290972248067565749347702575078495296062620922462001219747721844168457757136135863339434065304636613146485204900484045821657177812758606855790370412535781348763394430891770464950586428984765435884302296929514054383560193790009243359948767744822314971400787144452401654044493586152663209263211462884714298318095915424209478083227494094529019045930043714814212155970726539745795556858707302099332188301173875316940887738260374201560460328328604693104964598790810473969662635704995652110587755795512873294564122977295095883024383170867712095271262477063592479117506559121323469929010090121841218279729874513074723846324035231456693050537646414252011205447971457754567344157717423131381163522228410474995371165408749191126232120208507089544666493632644146546456306748014777451129276911113250966179386095938430340835416723993171588999735386155410685767460622148388835234899941141261298603456716955533849891151959', q: '517678955136231074837783356904623932383521936721037569776715567274177790669803272039461620320523316296348689450599891021280015975419289359771165866680982855996531545354878695488416793449088985905876366674019190138575061044445743949932391638035805004595500147948601083498093590441688084477330817915364388254783706437200627766571645486124033782874673851287539247648031310461231000609873860922084228878568067931669717032652318306573242602450242022910828588906379303427895185206267890674381697215445885232475293214492382717942151148464757027191780096895004621679974383872411157485700393572226200827022246793076331604631605731442357149159047957712104739041613747047264509522965021857407106077985363269872897778429353651049666094150586937658470443869130187100780230164164302346552482299395405236984831317852497826055293877897756436647282061488647547941512191585433856047635631238531796239558753279560661734964505045060920609139864937256537361923162017615728346525268823207126005602723985728877283672078858711565690581761114205237497685582704374595563116060104253544772333246816322073273228153374007388725564638455556625483089693047969215170417708361996585794499867693077705342883730311074194417617449970570630649301728358477766924945575979'}