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: '3385596089755847376758570579483742604771090731503188721236539167950567420584125405260954181453588256849321412685791172560097317953944086039331438171356233098973917027480934942197210529430039677922333189934317213181185225271595926085142282299386996764606473218100244483371151181928147463098100820464025724653320729759100680596739732827773341263309941686341435653511103680367722999246768826848122448087872045000579708852415163482798079953000664151133363118528377655144161727897860368632534700492632299979477751789588282804709186988498691443101246092518170199179476261721603665524213447501801095772794928826534378671969561088529739077505003425747263451383305627657955790774947481741900390945399802008121463220932855876412603823211785570444092606566827709431871613552001914874639397730391987353861100104549186259304420668441047575549371173567122236367212700577898629413246675111672190804496745342478716912536257756008915028330743', q: '1692798044877923688379285289741871302385545365751594360618269583975283710292062702630477090726794128424660706342895586280048658976972043019665719085678116549486958513740467471098605264715019838961166594967158606590592612635797963042571141149693498382303236609050122241685575590964073731549050410232012862326660364879550340298369866413886670631654970843170717826755551840183861499623384413424061224043936022500289854426207581741399039976500332075566681559264188827572080863948930184316267350246316149989738875894794141402354593494249345721550623046259085099589738130860801832762106723750900547886397464413267189335984780544264869538752501712873631725691652813828977895387473740870950195472699901004060731610466427938206301911605892785222046303283413854715935806776000957437319698865195993676930550052274593129652210334220523787774685586783561118183606350288949314706623337555836095402248372671239358456268128878004457514165371'}