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 4.96 kB
module.exports = { p: '595915713398750917033400895973451601941957083612195344081800418925919148721114648776290511711992547395947622031823173421437963723002371859989033358482935759108902956183245878253868553565872921341901086778859516139957439185711177747309429211689257629605937781737923019883902526495787529306567925003336013403007505806805655093319005532620453579386208546207219279731348867849481343708592395231985796625091806668027633355960786493732986977320702845019281493118720694450124179716312509176903851967296900721175915804915361763176858254687202248961138686201399889648887454776371909695897193154635667827769772905926345665685232281635782077492504774300297432381888969806970778363314162797083179581137299846873606361540812645063917287178824317844020689853456697421824478135551660351765006543015191932498901206042199664615983891950634568711846165504071458208814710955118600288462320042722824802252153498006649090750233911967057175428675890091401217356925078391612986619258421277758900929594555371328611188694236936397347287530912743395581960184058171032886217177652861126506222144540360676568343919116379229304436834138953962523605864880585412993790282958158186834529422835984671737448305145310107947325842790241758757875295931441910062582616566373567165883991224501246148134785305955273001524005541608897941419971275526539112541982923369906743046278573587425180721056211679273948897059607993100952353457289518737407842671376646889085782532046685941849313900049276781601218270092349951069495448596593554691306285055268357512739086229611263584215180197227430701973529013953544731046398270529887316833926124751642750664613917364163426373023756623520215304594402836261481693934255556601800998978309818205703073385761599390249787446120409157763969574499738320974297675640714431093089955127608868317703425173685157170977401561989331218636760920054470788957691509037846148757297974142551993850677459737058413538732018191270601684024501868045541983027349768070986950393998873352507245612593238093630062966344154610399602173121605322138635082396920161741196375044446536478686700331675767195824576720857121697301222777632339468865758815134579263650510744668305971524271383108326463464299565082923094563564880912282203018259332766645571910609827543625804382658207133167235141312817328902038825372666552540435339357851561245227743773596554198142927297473767398486637834788475286214533746506576454617816385493242303822910911021881850967055757984956712633666678064004398724221696800536268247', q: '297957856699375458516700447986725800970978541806097672040900209462959574360557324388145255855996273697973811015911586710718981861501185929994516679241467879554451478091622939126934276782936460670950543389429758069978719592855588873654714605844628814802968890868961509941951263247893764653283962501668006701503752903402827546659502766310226789693104273103609639865674433924740671854296197615992898312545903334013816677980393246866493488660351422509640746559360347225062089858156254588451925983648450360587957902457680881588429127343601124480569343100699944824443727388185954847948596577317833913884886452963172832842616140817891038746252387150148716190944484903485389181657081398541589790568649923436803180770406322531958643589412158922010344926728348710912239067775830175882503271507595966249450603021099832307991945975317284355923082752035729104407355477559300144231160021361412401126076749003324545375116955983528587714337945045700608678462539195806493309629210638879450464797277685664305594347118468198673643765456371697790980092029085516443108588826430563253111072270180338284171959558189614652218417069476981261802932440292706496895141479079093417264711417992335868724152572655053973662921395120879378937647965720955031291308283186783582941995612250623074067392652977636500762002770804448970709985637763269556270991461684953371523139286793712590360528105839636974448529803996550476176728644759368703921335688323444542891266023342970924656950024638390800609135046174975534747724298296777345653142527634178756369543114805631792107590098613715350986764506976772365523199135264943658416963062375821375332306958682081713186511878311760107652297201418130740846967127778300900499489154909102851536692880799695124893723060204578881984787249869160487148837820357215546544977563804434158851712586842578585488700780994665609318380460027235394478845754518923074378648987071275996925338729868529206769366009095635300842012250934022770991513674884035493475196999436676253622806296619046815031483172077305199801086560802661069317541198460080870598187522223268239343350165837883597912288360428560848650611388816169734432879407567289631825255372334152985762135691554163231732149782541461547281782440456141101509129666383322785955304913771812902191329103566583617570656408664451019412686333276270217669678925780622613871886798277099071463648736883699243318917394237643107266873253288227308908192746621151911455455510940925483527878992478356316833339032002199362110848400268134123'}