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: '840748636343840900808784758170908119767931084987561219762150414788297281928810771114599489920031690455373344363886579848032186329979962577840312423893254851830300752673329551706930082831240860668683090460087025294318801810294014564891272284962869101027281265963397889510348746579674328849986082815075161984346270868546333969837683010096769299053819600060562463987329459035025976683302162434518088916235931651798638726959417790535885018323827950034532019152010279842312829414769498950761348466749869537578809689108327155801911263579461430997123577004387044925825603886119613683088886981809270719501144800901050356497008481588131401081701066199166174250104925602300498316280851459173419329565083067134914641130387595989998475061382536428973737213464886146069420441076036550346857355062683463286650356893711060068942930147757430994809751846873896147590355262394048229700163746192606821845434612658798706267345451759063122313472237157519406714379155682117969193326932633785279935018237242515449929917136281346722388031997644316216614324227617517938204709305566910784143519679305359534942212386682489292740392942144577215429173056142419497153888061142904107287989616702293159976325154115021505321679296023536620465539627157894292959056138752928048394183935542503902574293456834250493515938634181315713617311622818504222689730725287138252696539982979764347956250383407320182339914236585456671057381758284323816110138487366322433755006505589640687014143319899072882493731528865684065656589951464778569862593361350106989009145184844303217188829157345984406851218339850282191558969346006869553324189873220839974783312255869918950332263029084380788893658844921762412801667206752083431629313884554411926823056389329543182148842431402279834242212625147059691191535412346358740996402161474928408275462964355538482096021925798124211339188891113887445309032354718694079606024372520656099864303095975684178718445943807426211779452278198990180154971496675148787632469367101719597630818465413900494543762880815166852151146634257947568910797930213642860839921420116733834656248072226738073360524562136296992988598025448412267947964901141159173796703387282618713112508593053580007863445216192387242698206537829755222099250994030868581808631698245611979004707420839602848216333854928273085584437438348463382680457225011459215984104772851966055754062876425971153940663629793672482665597004857632217594052459178050909683319740807173630247589503113209258808369744259474559852957381423123667', q: '420374318171920450404392379085454059883965542493780609881075207394148640964405385557299744960015845227686672181943289924016093164989981288920156211946627425915150376336664775853465041415620430334341545230043512647159400905147007282445636142481434550513640632981698944755174373289837164424993041407537580992173135434273166984918841505048384649526909800030281231993664729517512988341651081217259044458117965825899319363479708895267942509161913975017266009576005139921156414707384749475380674233374934768789404844554163577900955631789730715498561788502193522462912801943059806841544443490904635359750572400450525178248504240794065700540850533099583087125052462801150249158140425729586709664782541533567457320565193797994999237530691268214486868606732443073034710220538018275173428677531341731643325178446855530034471465073878715497404875923436948073795177631197024114850081873096303410922717306329399353133672725879531561156736118578759703357189577841058984596663466316892639967509118621257724964958568140673361194015998822158108307162113808758969102354652783455392071759839652679767471106193341244646370196471072288607714586528071209748576944030571452053643994808351146579988162577057510752660839648011768310232769813578947146479528069376464024197091967771251951287146728417125246757969317090657856808655811409252111344865362643569126348269991489882173978125191703660091169957118292728335528690879142161908055069243683161216877503252794820343507071659949536441246865764432842032828294975732389284931296680675053494504572592422151608594414578672992203425609169925141095779484673003434776662094936610419987391656127934959475166131514542190394446829422460881206400833603376041715814656942277205963411528194664771591074421215701139917121106312573529845595767706173179370498201080737464204137731482177769241048010962899062105669594445556943722654516177359347039803012186260328049932151547987842089359222971903713105889726139099495090077485748337574393816234683550859798815409232706950247271881440407583426075573317128973784455398965106821430419960710058366917328124036113369036680262281068148496494299012724206133973982450570579586898351693641309356556254296526790003931722608096193621349103268914877611049625497015434290904315849122805989502353710419801424108166927464136542792218719174231691340228612505729607992052386425983027877031438212985576970331814896836241332798502428816108797026229589025454841659870403586815123794751556604629404184872129737279926478690711561833'}