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: '610085350803672756389807997218864743659654916971268610327783841137920842386788207056562650475701351990267657178548482772993150796429570847710002760880605681610064465811376235119151767380942600751998033396805038180843582929161693317717824538115930726224373359223848870105927216986969603489537400878198572897841882245841773796559672166834828762606826160018662543563748313549847617088954972688324916156532383460313639875180607347949222331822191070421103383943620116212770655101772866205750852078458414919245825399815224751710661975193657142185028949898486959658158811912328935118301843489347771610126648252110183577438559502264504398570946174573654879452084995089760788171352423315629246095554828925312942967196150070136034770477995454551614888714614815229830306232715374645242630120917789416321519554602883645339485892622399085245815313065129355041344694161506765486763602577241502920479394037945279424906074895806528909377714428717572444888910716081702555555297433439504203852928570381643200435692748485031811690336725807277847585355814240829958440101854450827281162498476073093672743868460190520753107029308225739412318760243423621238571877701390591240963586747119244564914618941581338256381916759049306598967046050047939437139593147', q: '305042675401836378194903998609432371829827458485634305163891920568960421193394103528281325237850675995133828589274241386496575398214785423855001380440302840805032232905688117559575883690471300375999016698402519090421791464580846658858912269057965363112186679611924435052963608493484801744768700439099286448920941122920886898279836083417414381303413080009331271781874156774923808544477486344162458078266191730156819937590303673974611165911095535210551691971810058106385327550886433102875426039229207459622912699907612375855330987596828571092514474949243479829079405956164467559150921744673885805063324126055091788719279751132252199285473087286827439726042497544880394085676211657814623047777414462656471483598075035068017385238997727275807444357307407614915153116357687322621315060458894708160759777301441822669742946311199542622907656532564677520672347080753382743381801288620751460239697018972639712453037447903264454688857214358786222444455358040851277777648716719752101926464285190821600217846374242515905845168362903638923792677907120414979220050927225413640581249238036546836371934230095260376553514654112869706159380121711810619285938850695295620481793373559622282457309470790669128190958379524653299483523025023969718569796573'}