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: '790818060930250462032882337064172001209802608214307865954856004142019909104960114207008372920992370644746535406663346703042750085147802472270613420201458299285155703131784439205669099068857308690246214785536506584623982903186973445577209664383527451093127570827608955597085573195729825633934719238037205007713471610163464947265560533566755801185348384511976264947338013375095358328499668528697618746009435892388046170625322361707556714184317003081932583028407032207912695918033424679594155569088539884053573100152318656585763535227958485164319463726466249537456134048825195926817981601366679568661034752187798640477765501415367970317098045850883773059776204665803413198040733538372517451976464034025664664387772725669458608490674807337664594771576231445382386975819829042100605275241344600459225831337479243528998802582956601124034352791253604367351483513264772509189194691559880898527503694415894862729846167039538716383920072496886645275849902443735973783183991246347259411571452195529598663402293962940346863893052978345735626628484655110680939971694040808696179309323315839117176140820076290958032062130190636938353654532367933584699352300109723417047677611455200272132784952789878458355538686993418150226485269645258671930090638867292066966068684379380949514980541442383076253069142745734217093329165673206539692791138926483116593299912225607148619545048505764623198946961438315543526631937461881575798504891658128818175650891084849287604997995862313364012082073728969375047524086460359278729916641282479753582447411899690412198702511834356302990268372687614180351379253008445474502068526239593304506313826166664203001071562281217880197755136664202269467873169676821940223973464693565918355787973643545863654143280732677228919366555823864499950133208281568909167756852779992552246826984306708646408026039435789020178858754550191623971263899019427926479047356138250702107538405881209481324922891533616672531434813392470421803458592369221468127748852979761424726908944525343521754214278298214095887064725353193921995065942735368446827193627543136420427717269798110977277437833722105455133952897505210675324303181583828138912285649720353563225345195527474707561727836558197940286805753293668629546107264638799460233775963297352062078141537826083646522777674544777187444368235532642605302517158217501523997047051357724906218205271532182282893816261143988864848603503058993977410606146437406762788954322630602680275279548728253855351916069045541599005988777775059383', q: '395409030465125231016441168532086000604901304107153932977428002071009954552480057103504186460496185322373267703331673351521375042573901236135306710100729149642577851565892219602834549534428654345123107392768253292311991451593486722788604832191763725546563785413804477798542786597864912816967359619018602503856735805081732473632780266783377900592674192255988132473669006687547679164249834264348809373004717946194023085312661180853778357092158501540966291514203516103956347959016712339797077784544269942026786550076159328292881767613979242582159731863233124768728067024412597963408990800683339784330517376093899320238882750707683985158549022925441886529888102332901706599020366769186258725988232017012832332193886362834729304245337403668832297385788115722691193487909914521050302637620672300229612915668739621764499401291478300562017176395626802183675741756632386254594597345779940449263751847207947431364923083519769358191960036248443322637924951221867986891591995623173629705785726097764799331701146981470173431946526489172867813314242327555340469985847020404348089654661657919558588070410038145479016031065095318469176827266183966792349676150054861708523838805727600136066392476394939229177769343496709075113242634822629335965045319433646033483034342189690474757490270721191538126534571372867108546664582836603269846395569463241558296649956112803574309772524252882311599473480719157771763315968730940787899252445829064409087825445542424643802498997931156682006041036864484687523762043230179639364958320641239876791223705949845206099351255917178151495134186343807090175689626504222737251034263119796652253156913083332101500535781140608940098877568332101134733936584838410970111986732346782959177893986821772931827071640366338614459683277911932249975066604140784454583878426389996276123413492153354323204013019717894510089429377275095811985631949509713963239523678069125351053769202940604740662461445766808336265717406696235210901729296184610734063874426489880712363454472262671760877107139149107047943532362676596960997532971367684223413596813771568210213858634899055488638718916861052727566976448752605337662151590791914069456142824860176781612672597763737353780863918279098970143402876646834314773053632319399730116887981648676031039070768913041823261388837272388593722184117766321302651258579108750761998523525678862453109102635766091141446908130571994432424301751529496988705303073218703381394477161315301340137639774364126927675958034522770799502994388887529691'}