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: '760714996547042919649828118864041584788429459192071785508983163402180092441129899989795851356512097572536713531889525127447992404041987430855091933345993328793396691303450828032813248817946845365836539803621552674241447861479925030849005428362442855311449785941543562778638290906343466641976449677976290246053416015312323178128374962771578915503695009695628266495142659398596334915045618364094426709835555875831307249945968750900565826103867219694639675502719659046022275776756325431711344707535359347525360991408536744786865208433474191975304429322640988867843787923513976502898126057629432606943699434851829531287789488186375583991538745996686864611804937726555548176735321788611429537054346820617375705807542772946403910403355105053998690828152370664303228385608747523524069880524780387417662169800508850389481013036272841530302625991990324521892783678729299976965243902411655817051504235516987666217564150636162875847305692764204834917636515654586086994492621346030685415034873090194555193673647874235782880676595895185250701020836506748032130470196027984568388472892269770851071924726470939976282518451490543157090293706682171988751613683447812287606004309285540883966513968816653255374669668221063542029998975726814177450032907', q: '380357498273521459824914059432020792394214729596035892754491581701090046220564949994897925678256048786268356765944762563723996202020993715427545966672996664396698345651725414016406624408973422682918269901810776337120723930739962515424502714181221427655724892970771781389319145453171733320988224838988145123026708007656161589064187481385789457751847504847814133247571329699298167457522809182047213354917777937915653624972984375450282913051933609847319837751359829523011137888378162715855672353767679673762680495704268372393432604216737095987652214661320494433921893961756988251449063028814716303471849717425914765643894744093187791995769372998343432305902468863277774088367660894305714768527173410308687852903771386473201955201677552526999345414076185332151614192804373761762034940262390193708831084900254425194740506518136420765151312995995162260946391839364649988482621951205827908525752117758493833108782075318081437923652846382102417458818257827293043497246310673015342707517436545097277596836823937117891440338297947592625350510418253374016065235098013992284194236446134885425535962363235469988141259225745271578545146853341085994375806841723906143803002154642770441983256984408326627687334834110531771014999487863407088725016453'}