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
JavaScript
module.exports = { p: '781165086377990088797470817279154592658745679200849691245004306773828833008779086106063866518521052542057861566768893427309907569573093828354797177776494552575018969833491978999976199596421898336637560846118851189153812788454970845006362806865036784940910975995778687834359792564725044265028832056226370447143601852752236586814272428122210232131881870828411451330485266766738044400879003184457081903096058697020213207588232716142424859498791044997543296070522905810128635229942178369125076255127829809975992214458065048458708327105291638116312158020913214249170002697783873172620639957362185260924037494524131521546014143447543298197707653200733860297380869009252936307242237098506420463620021799696150406970973987843968135109436538027096391952131283641675556963596628543315255943228593973429963423800318709719400963953974953414023338084766221921449890500869893914244192672761999551014062461419658852810268082354476831205601219014413931207709892241061855679106102101851962707550470916155266589564388576150641805310891124575232594482266973105184085565760421834198744710916900443535419034705681260408014287268490097278202540061498074652144659462342033810404240217351809440343518948648293450517794027065272197477243479097541986282415759', q: '390582543188995044398735408639577296329372839600424845622502153386914416504389543053031933259260526271028930783384446713654953784786546914177398588888247276287509484916745989499988099798210949168318780423059425594576906394227485422503181403432518392470455487997889343917179896282362522132514416028113185223571800926376118293407136214061105116065940935414205725665242633383369022200439501592228540951548029348510106603794116358071212429749395522498771648035261452905064317614971089184562538127563914904987996107229032524229354163552645819058156079010456607124585001348891936586310319978681092630462018747262065760773007071723771649098853826600366930148690434504626468153621118549253210231810010899848075203485486993921984067554718269013548195976065641820837778481798314271657627971614296986714981711900159354859700481976987476707011669042383110960724945250434946957122096336380999775507031230709829426405134041177238415602800609507206965603854946120530927839553051050925981353775235458077633294782194288075320902655445562287616297241133486552592042782880210917099372355458450221767709517352840630204007143634245048639101270030749037326072329731171016905202120108675904720171759474324146725258897013532636098738621739548770993141207879'}