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 1.88 kB
module.exports = { p: '2914970611850797699214904731433450619876237143284022588199310375000872037579924817451164861598762937239870336675328548494051322089383562125124164386456904780300625040582668330978298751325886573652963608216519606532696767061321664508165864771671435017211682380161246482333048750663692585507452061911600462786296491144706578236435037113812496874842953195819272791097672428164929500949896529514316734821679295336106994134240117372133446000298432749211668244406891015645229632385217142939685118373747559997433922500151729194804950424492128631666150360795525879596476900165232630057839996264366754592525911843368792113615543207428475014820946235350417338238032725230898310148310619231052822786990589245977016770869950496875325740203348656478906943744778743531075910219607781365268084758394627885893679636149814024224652250072713478620394096567330390012466860668627806848742405915363638850448510089927343366033998157626068765441343', q: '1457485305925398849607452365716725309938118571642011294099655187500436018789962408725582430799381468619935168337664274247025661044691781062562082193228452390150312520291334165489149375662943286826481804108259803266348383530660832254082932385835717508605841190080623241166524375331846292753726030955800231393148245572353289118217518556906248437421476597909636395548836214082464750474948264757158367410839647668053497067120058686066723000149216374605834122203445507822614816192608571469842559186873779998716961250075864597402475212246064315833075180397762939798238450082616315028919998132183377296262955921684396056807771603714237507410473117675208669119016362615449155074155309615526411393495294622988508385434975248437662870101674328239453471872389371765537955109803890682634042379197313942946839818074907012112326125036356739310197048283665195006233430334313903424371202957681819425224255044963671683016999078813034382720671'}