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: '668855730444826056822318631552002166106979078201215095067324681204812620226788204465280582787767865057744652101353650838143364831182139977457660337891390087307945564272485171272262920222898608262177325054533664843177336444034316158007060382858361255569798387632658289936768178651049556869656514573736863807421561818480524989748371270451275293310009199646848732883366057961771673226484417148785254048715914727517103990304814777823218872116650050176348291193620759611141429189264460080248993058882629024187143412590830477316118660786295247908474305996954775400285107853702857443191744934930382924526870167267799140514416746203524413477179477006129311633641642071252333896037549687199917175079986482475569024657565074736089870506748360561048433640130792171188034081721910524783326991045088423984883004034462691251241249890659713171882724026730581350276537463906058347934238383096564904845860690111736658545614265727817170705261592671536388015061146036785462079675602235922766950457152237558305863108440883877572444471462376230469642290135459499842366246275336319209025189157858684892255528078405606928792228779252018090676297361382583205922887976854225529442617805841156690139101402967485536577990270006088512048500597584451441737695243', q: '334427865222413028411159315776001083053489539100607547533662340602406310113394102232640291393883932528872326050676825419071682415591069988728830168945695043653972782136242585636131460111449304131088662527266832421588668222017158079003530191429180627784899193816329144968384089325524778434828257286868431903710780909240262494874185635225637646655004599823424366441683028980885836613242208574392627024357957363758551995152407388911609436058325025088174145596810379805570714594632230040124496529441314512093571706295415238658059330393147623954237152998477387700142553926851428721595872467465191462263435083633899570257208373101762206738589738503064655816820821035626166948018774843599958587539993241237784512328782537368044935253374180280524216820065396085594017040860955262391663495522544211992441502017231345625620624945329856585941362013365290675138268731953029173967119191548282452422930345055868329272807132863908585352630796335768194007530573018392731039837801117961383475228576118779152931554220441938786222235731188115234821145067729749921183123137668159604512594578929342446127764039202803464396114389626009045338148680691291602961443988427112764721308902920578345069550701483742768288995135003044256024250298792225720868847621'}