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: '536779048151357472884391645964227991585364195352135495673887860098572730457974732020048364001192455847121280920001847269784269051214810117713120489892762976427087632685576173587880208895081697676330410297390776761688521737308252872095331030580695749174184352510403787185014090414737102059280924433947334585665002630635657919965638119393773733248656711206494065067231436665499105887588238074802777929843678959468344439522376305091323911034206796724204621006295576888920050607975172668495474620769696618729712528794949386092488335576995548699440767366938028320206727049241055126784656352799007611674711033035972246743015982449557323526279392903776185196949261406514841729855330189312580502809312128936676224231956502497441269276739455267762472312444653783964994559053864965206101382162562086395913056863876525235079685477166023857608909795508190452752712364010463374519073432736048530992856748817276031880237652227289626362290216773520426268331071566018785054727468340396827414179148578686658845264785114755484698715966071492463503889008985884301579875688293348694861221847997352760316591215259240532487280003582130987084418825481725676397305782870976118658628816941765820707146908227922671796508296997917003949114811103605761762011727', q: '268389524075678736442195822982113995792682097676067747836943930049286365228987366010024182000596227923560640460000923634892134525607405058856560244946381488213543816342788086793940104447540848838165205148695388380844260868654126436047665515290347874587092176255201893592507045207368551029640462216973667292832501315317828959982819059696886866624328355603247032533615718332749552943794119037401388964921839479734172219761188152545661955517103398362102310503147788444460025303987586334247737310384848309364856264397474693046244167788497774349720383683469014160103363524620527563392328176399503805837355516517986123371507991224778661763139696451888092598474630703257420864927665094656290251404656064468338112115978251248720634638369727633881236156222326891982497279526932482603050691081281043197956528431938262617539842738583011928804454897754095226376356182005231687259536716368024265496428374408638015940118826113644813181145108386760213134165535783009392527363734170198413707089574289343329422632392557377742349357983035746231751944504492942150789937844146674347430610923998676380158295607629620266243640001791065493542209412740862838198652891435488059329314408470882910353573454113961335898254148498958501974557405551802880881005863'}