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: '551193704519346470059491699568411678723242900070336334998254078865537517470920470578802925382085860227575124865483468887102488138818717057256580666431665925958720818548136999752125961301941211717617443923524148718635153078743934654587869383765580517023953300418297543743708748026553016544704170078763170193285860817682205092678019485056748509916575313056739765128858691942434258810284336479180484445668864555411990577736957453007657064104603827835581307247073230352683337117402636973094536019504888696771736867432527894889741367711180788168918867084659267122014427633861011974941718703530236066461110318014402984131245797478397603933443951000554325277167935256820090823144315889980963179799342202305546620861426768517652985638018484368930598228154059136787869433486911527964058212673115425810630797760184332157048181912038665979485898324221458566656983265251070398949312861110605624267264786325585516516739038778935595107355248913163210929411587532068795525422873780593808021283186991965703488734007433006981518338342707694164886118271479178941270101799417226743785138591036423450843381428752002411669321864411434981869298525087624688987733424575966531704222269950041306360680635441880041988993510886712927111226730630519210596291967', q: '275596852259673235029745849784205839361621450035168167499127039432768758735460235289401462691042930113787562432741734443551244069409358528628290333215832962979360409274068499876062980650970605858808721961762074359317576539371967327293934691882790258511976650209148771871854374013276508272352085039381585096642930408841102546339009742528374254958287656528369882564429345971217129405142168239590242222834432277705995288868478726503828532052301913917790653623536615176341668558701318486547268009752444348385868433716263947444870683855590394084459433542329633561007213816930505987470859351765118033230555159007201492065622898739198801966721975500277162638583967628410045411572157944990481589899671101152773310430713384258826492819009242184465299114077029568393934716743455763982029106336557712905315398880092166078524090956019332989742949162110729283328491632625535199474656430555302812133632393162792758258369519389467797553677624456581605464705793766034397762711436890296904010641593495982851744367003716503490759169171353847082443059135739589470635050899708613371892569295518211725421690714376001205834660932205717490934649262543812344493866712287983265852111134975020653180340317720940020994496755443356463555613365315259605298145983'}