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: '643630516384132703949640737773436755995981153811855134267160157537234248011915794185383415953529584703125424052044497141833296688453828368198678937640827907002485297505059980638539106630072979659990838658539955021334263093490592837013492742816245963670065066076122988923052602082162342923199763339201641475792664377695944641827059758941763226897011332573094766949588557058693016671447380802264758000638373128370429049236823680011985000586408527005841745890021532701076949334898621176117603230734393717803196985958319336681015632397731178888402005361501202465354287798784954796554664457696266342209841383077038686692505048494084006775340800846081001041557520778776266397913550432820786321469020325297844412994625142444057926514604220826330755618231798619755999267758957840502424279535245479715535763277341621721812905055675500092357610630442681497844715551229563594992817163351875575162969534368740339873794092328290280322751315294248202047170855156781371973462372750169924137798657913153138420106876825324664657537266391385153083718998298198013267277821145514643354258089507091826411339167808634358658369067124532054412621476933539899075078787024298421870350339118311802482809914384755483894432955866180779297069190638983623030531274291308823515196185804002899903198979809067210359031868485704804979210183586385337875167592526246755304037233092425394027148768989520045710245571625561673507467339907012529642325590795501950563532070392203285151199415508308200695445627132315172650228973651099971464724355741477529366928828484770581514523565353592671365834527874243892807652713662862852903889373533255014321508145922612426485821379106332511171762254117786658634477408370482094236609799104491207022447359053116930741752247759033649362301736199918705815736553197634397555404418481569562801673939339580318021130005705791607598686702171570116727289571608675442691886467318677007556778097135400006519753817795173222394352907678340502458050593952968035626751478409293492860763306364675922638399146504988265205315809409322684804636778298600099978236383782664282113725605776489218345534742702562905936709045994078617170762014932325133491325007249973089715217237864425040869481113040372323397634757903742677685248021481202386330135319790730586878613596312803759505848587971629212382244493717278013933127973569620189054953173370979747828737686689355507491964727963011260062958164173340241014234518656687696754160652528392836307135938752145219098776799377690835482823433471348583', q: '321815258192066351974820368886718377997990576905927567133580078768617124005957897092691707976764792351562712026022248570916648344226914184099339468820413953501242648752529990319269553315036489829995419329269977510667131546745296418506746371408122981835032533038061494461526301041081171461599881669600820737896332188847972320913529879470881613448505666286547383474794278529346508335723690401132379000319186564185214524618411840005992500293204263502920872945010766350538474667449310588058801615367196858901598492979159668340507816198865589444201002680750601232677143899392477398277332228848133171104920691538519343346252524247042003387670400423040500520778760389388133198956775216410393160734510162648922206497312571222028963257302110413165377809115899309877999633879478920251212139767622739857767881638670810860906452527837750046178805315221340748922357775614781797496408581675937787581484767184370169936897046164145140161375657647124101023585427578390685986731186375084962068899328956576569210053438412662332328768633195692576541859499149099006633638910572757321677129044753545913205669583904317179329184533562266027206310738466769949537539393512149210935175169559155901241404957192377741947216477933090389648534595319491811515265637145654411757598092902001449951599489904533605179515934242852402489605091793192668937583796263123377652018616546212697013574384494760022855122785812780836753733669953506264821162795397750975281766035196101642575599707754154100347722813566157586325114486825549985732362177870738764683464414242385290757261782676796335682917263937121946403826356831431426451944686766627507160754072961306213242910689553166255585881127058893329317238704185241047118304899552245603511223679526558465370876123879516824681150868099959352907868276598817198777702209240784781400836969669790159010565002852895803799343351085785058363644785804337721345943233659338503778389048567700003259876908897586611197176453839170251229025296976484017813375739204646746430381653182337961319199573252494132602657904704661342402318389149300049989118191891332141056862802888244609172767371351281452968354522997039308585381007466162566745662503624986544857608618932212520434740556520186161698817378951871338842624010740601193165067659895365293439306798156401879752924293985814606191122246858639006966563986784810094527476586685489873914368843344677753745982363981505630031479082086670120507117259328343848377080326264196418153567969376072609549388399688845417741411716735674291'}