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: '713605137114741769780431587010288901922183683094400796523673670537754310079408183021311989208218234568425683013129258724040182620591320665534586209133111256125289236806915660436333542607289126598911672260423332194965838162938755593110340785023232879830673310317489920827125825655897068487639416445274875525581100080392827077872287793273663479831343183697105189059573767988194674361505746182466411277441029176481529885582322823850417549888841661270424632375545999623697024334133792063842207191265203337812953923325422176823526480822053143331482354953197628906873364528214253174584039314840472554665178234645187465400420984000564664135336315614631958588689719417820977082171752278828981482531557592845694297891800794839958188276696350479458841855681452527910671416206608934190620524417775287297860641339039391681565172317613281401861612762016779857093509195966340810857609432783117903640300287904000360018434954731058057189061650082753759738727154953592352871269204706884995955941503879081517415143561305008279823192305076078917606688534764563284491414052915407217815409471221050193171564028999103233795776503942154415759384735630719819530165474770284401306664408900646256421219228996550324139948522168313356901650901470116911543742387', q: '356802568557370884890215793505144450961091841547200398261836835268877155039704091510655994604109117284212841506564629362020091310295660332767293104566555628062644618403457830218166771303644563299455836130211666097482919081469377796555170392511616439915336655158744960413562912827948534243819708222637437762790550040196413538936143896636831739915671591848552594529786883994097337180752873091233205638720514588240764942791161411925208774944420830635212316187772999811848512167066896031921103595632601668906476961662711088411763240411026571665741177476598814453436682264107126587292019657420236277332589117322593732700210492000282332067668157807315979294344859708910488541085876139414490741265778796422847148945900397419979094138348175239729420927840726263955335708103304467095310262208887643648930320669519695840782586158806640700930806381008389928546754597983170405428804716391558951820150143952000180009217477365529028594530825041376879869363577476796176435634602353442497977970751939540758707571780652504139911596152538039458803344267382281642245707026457703608907704735610525096585782014499551616897888251971077207879692367815359909765082737385142200653332204450323128210609614498275162069974261084156678450825450735058455771871193'}