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: '691934204085667575557952578546866000075071186473196740722663159965351272010782625131927479602063644178252670383003072534605353593638514234327374419109312380486649912369949741544300478259895707502673593405894620563438823956866375171382066866542990995674944840310189885794508755958528752547271363800239140602722540301980063989628321928131136637815451939272120140819328546883923780472054362453435750233034252666592369614698890262300841240512779183450671008525940641725900586153372961158785509512482318614486283906114066556255058925301283748779877391225177364264147095243254650403739762521569630028783109448117864143565428603981314587504528738572309256898534336079189691287401302080589362824294849287548777371154342583336314592381387214345668020751660489872415469240891822198832902146693728100212160039922983754623936665810667927537942073132682094504133919111263994578001661302829465302754052153305524174997053270966317647851259689751576654021162245280388723431884920528250126576467068638798967325132751742109104502899798620398936600487845585743826191118387091943621071740508266006113760219285669915843299898340498656053207438592884965983705423445654193996787127287615832824100617452501197528334899736451997812072054255485771193679550933249468687219025472031751220030098860724229780670688785135293728866299108494553472830362503160451307999276033718823682652499650476910757170854565370812234375418525890120623696264116869436569151286499873725826350933925664739234028853627812788670710779103876933013413323539716539580193733888300175142359881232091811145316059866956301448596073377402773282222565759330111659331486975174373801989398655509012890665312431550424466562159879297548634154899473832458603746941579523016621563328780072319191040029681091773130733205385155141824623922691636262121541865075237895698644781309823959244134316760323246695425883365527415909680889397362321192982104821905554302806638769942789734712947494475273488627370124985854125858455074687047121209325702764700223109465067987245828058934041969687648231924150734118054089398863663183022961813846388927557463706714217332158916811189117157902939834572075795042633091937340383134037138087240099430957618034055607227852820133746805538358824503914987469741887636447747274815084639864259984567693826300476615668718570538403725507642441706252437747479447484945712498584605811808530537731685905460868770629120813690058909172921438893631800630419885180684663899294139438995339945622268725016266230783943525639', q: '345967102042833787778976289273433000037535593236598370361331579982675636005391312565963739801031822089126335191501536267302676796819257117163687209554656190243324956184974870772150239129947853751336796702947310281719411978433187585691033433271495497837472420155094942897254377979264376273635681900119570301361270150990031994814160964065568318907725969636060070409664273441961890236027181226717875116517126333296184807349445131150420620256389591725335504262970320862950293076686480579392754756241159307243141953057033278127529462650641874389938695612588682132073547621627325201869881260784815014391554724058932071782714301990657293752264369286154628449267168039594845643700651040294681412147424643774388685577171291668157296190693607172834010375830244936207734620445911099416451073346864050106080019961491877311968332905333963768971036566341047252066959555631997289000830651414732651377026076652762087498526635483158823925629844875788327010581122640194361715942460264125063288233534319399483662566375871054552251449899310199468300243922792871913095559193545971810535870254133003056880109642834957921649949170249328026603719296442482991852711722827096998393563643807916412050308726250598764167449868225998906036027127742885596839775466624734343609512736015875610015049430362114890335344392567646864433149554247276736415181251580225653999638016859411841326249825238455378585427282685406117187709262945060311848132058434718284575643249936862913175466962832369617014426813906394335355389551938466506706661769858269790096866944150087571179940616045905572658029933478150724298036688701386641111282879665055829665743487587186900994699327754506445332656215775212233281079939648774317077449736916229301873470789761508310781664390036159595520014840545886565366602692577570912311961345818131060770932537618947849322390654911979622067158380161623347712941682763707954840444698681160596491052410952777151403319384971394867356473747237636744313685062492927062929227537343523560604662851382350111554732533993622914029467020984843824115962075367059027044699431831591511480906923194463778731853357108666079458405594558578951469917286037897521316545968670191567018569043620049715478809017027803613926410066873402769179412251957493734870943818223873637407542319932129992283846913150238307834359285269201862753821220853126218873739723742472856249292302905904265268865842952730434385314560406845029454586460719446815900315209942590342331949647069719497669972811134362508133115391971762819'}