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 4.96 kB
module.exports = { p: '715829186456204608277951759704752906135963915707978356495354806812661689029292635195450450135693968572659234112988640282763053288243725535959186268467505677548966706902311554555114706445842982588455563902495105719814105308638782916200554839518698952378256877458708069166279608593094403319982532352836387665756834611274400115637355547577071442528796392254239471496358728267634905794938561509761408674271106385582394321590705172856065880887051224515856517753722495096446127976856040433997986195944622411853377443405875890114768606224328855698991588422834541645879139724354297760749978832931676436595658967700669452829720738425341120260659387545976665448447627626582952350571596905777988585181659013417587968038850988261515484502896384157515941503986799055922767059804180219352519642983470284342338354663222153597100175281699162615430385208096220441794602075132950328490708800198047802913988409470862239919351053606544442408883887309487618068732133010190432482910510893585535997940305051736266642027030503957743933602869571795926043796778923374959397208393868849210934817722041979673566258939428858488550397306599800845280215500983946665787247523520790774646129982530434088083469164892233930009093562212164080222922521344404262677625933735483622203466662069163344633511224949469854507160107995366097221512507252636182822810131963992108417036773018438073126953991064509970286151281005264556151892523491303341988496447847334020004943595522313834611699855740086869984470517855041365083767934789149130669485431806032590331267285226632411158132220750124707737146701138573949751932431084073811675471000432996068705374434920454672736700726038202032797013586336103760396750158134340339505841131994471832450970788978067877204918818328416880453657395377367131572038479812494882587663705378951863026622367982620330840071593094647502574182248804336656774477020196369147769863206898364654647903950934442083820651636349356245468543934507158018957816594765330243162631553030793697482339338278657866983519455498431341069319208858402770634353388125749928824837798014452745422592636171734872063386744906615387250382180428752116194768178073698216798974153068799628710044843888866900276603544252879082264715000725344552084057567835764828080607570887193668998258332231204281908428455503504515670625285898463048356055972554307653106678963794461581118939564564629381030547033570733911178259788901561032395817122938405339704648514220309702230980327867923333561371570772847770938889668964552503', q: '357914593228102304138975879852376453067981957853989178247677403406330844514646317597725225067846984286329617056494320141381526644121862767979593134233752838774483353451155777277557353222921491294227781951247552859907052654319391458100277419759349476189128438729354034583139804296547201659991266176418193832878417305637200057818677773788535721264398196127119735748179364133817452897469280754880704337135553192791197160795352586428032940443525612257928258876861247548223063988428020216998993097972311205926688721702937945057384303112164427849495794211417270822939569862177148880374989416465838218297829483850334726414860369212670560130329693772988332724223813813291476175285798452888994292590829506708793984019425494130757742251448192078757970751993399527961383529902090109676259821491735142171169177331611076798550087640849581307715192604048110220897301037566475164245354400099023901456994204735431119959675526803272221204441943654743809034366066505095216241455255446792767998970152525868133321013515251978871966801434785897963021898389461687479698604196934424605467408861020989836783129469714429244275198653299900422640107750491973332893623761760395387323064991265217044041734582446116965004546781106082040111461260672202131338812966867741811101733331034581672316755612474734927253580053997683048610756253626318091411405065981996054208518386509219036563476995532254985143075640502632278075946261745651670994248223923667010002471797761156917305849927870043434992235258927520682541883967394574565334742715903016295165633642613316205579066110375062353868573350569286974875966215542036905837735500216498034352687217460227336368350363019101016398506793168051880198375079067170169752920565997235916225485394489033938602459409164208440226828697688683565786019239906247441293831852689475931513311183991310165420035796547323751287091124402168328387238510098184573884931603449182327323951975467221041910325818174678122734271967253579009478908297382665121581315776515396848741169669139328933491759727749215670534659604429201385317176694062874964412418899007226372711296318085867436031693372453307693625191090214376058097384089036849108399487076534399814355022421944433450138301772126439541132357500362672276042028783917882414040303785443596834499129166115602140954214227751752257835312642949231524178027986277153826553339481897230790559469782282314690515273516785366955589129894450780516197908561469202669852324257110154851115490163933961666780685785386423885469444834482276251'}