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 2.5 kB
module.exports = { p: '606592124112027791242849094323948391857742226817053628044622086118211436560470708746682620143133935578465820589148328671525506437982553009120809589067315950982071758209372991396069683519972732582210484725414902520232910510738033144346300594129592327086279400566330100871300522094770191931952405245304019366448403442097678644433001031905391016376090519289117583858648227123897999342754642024559816138154838941128926606056506852386352106739419867368449616630969899014290437941255538448241489273975902851489066605465145380593815007457016763810856402133318230311716602187756563282999453464740568719336272278641177995093906024173467724241405730939501400420674282753105247469826895248899618449181085149867671926298529338548013430910125331250951665122602746588641624402618012759489164339591089306309411340087918847076442739032718886563119223951407358127312874540617767076547334219521782566098867840139727897608452637211228956855328749984538933663330093025371633323525379775888659418412104354342836943720006257039904425150054797406167122230974767644942756579950210792183627985824688494661296084780528757179132301445682876554836715160513484468332742228436096187342545364959523531651885834342827152511737343559395814687278743597221466686070799', q: '303296062056013895621424547161974195928871113408526814022311043059105718280235354373341310071566967789232910294574164335762753218991276504560404794533657975491035879104686495698034841759986366291105242362707451260116455255369016572173150297064796163543139700283165050435650261047385095965976202622652009683224201721048839322216500515952695508188045259644558791929324113561948999671377321012279908069077419470564463303028253426193176053369709933684224808315484949507145218970627769224120744636987951425744533302732572690296907503728508381905428201066659115155858301093878281641499726732370284359668136139320588997546953012086733862120702865469750700210337141376552623734913447624449809224590542574933835963149264669274006715455062665625475832561301373294320812201309006379744582169795544653154705670043959423538221369516359443281559611975703679063656437270308883538273667109760891283049433920069863948804226318605614478427664374992269466831665046512685816661762689887944329709206052177171418471860003128519952212575027398703083561115487383822471378289975105396091813992912344247330648042390264378589566150722841438277418357580256742234166371114218048093671272682479761765825942917171413576255868671779697907343639371798610733343035399'}