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 • 1.88 kB
JavaScript
module.exports = { p: '3319533418096771093500002867510434244175550788266861784033873586773562989104078127674038486266122373797992241166566154879018217792097450458559089870981873511248307517595042565105070185415975004911651235742845083266177086753292751517548689217781198397698719606919446143264876824689399934868629784092537560378741041999707490672266079736235631119410815663447010617173033794595315507268849558272861943419750020277561394610066007373377556130250885156935564810234346858770167043666289331219439043323658387505702396090865719902438572379726181837988049587086266078918393706157376599157571980662032498274587843995927475483097069632706157402904191383651814837826730956143524518712266258976881957937346931770302592218493772491212893402103905165834912394093037911864653624280143115499893919983601000199122992882318453656385482316444881261070371861485632227069038658365077625691381816040758559042705286039429403458837730499469375846880867', q: '1659766709048385546750001433755217122087775394133430892016936793386781494552039063837019243133061186898996120583283077439509108896048725229279544935490936755624153758797521282552535092707987502455825617871422541633088543376646375758774344608890599198849359803459723071632438412344699967434314892046268780189370520999853745336133039868117815559705407831723505308586516897297657753634424779136430971709875010138780697305033003686688778065125442578467782405117173429385083521833144665609719521661829193752851198045432859951219286189863090918994024793543133039459196853078688299578785990331016249137293921997963737741548534816353078701452095691825907418913365478071762259356133129488440978968673465885151296109246886245606446701051952582917456197046518955932326812140071557749946959991800500099561496441159226828192741158222440630535185930742816113534519329182538812845690908020379279521352643019714701729418865249734687923440433'}