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: '4127359616021593287580057871989539361255488324977466285215437277726011356316147760039245121437545663194215379767813853628670808567183301066095410866426524083665823438611057432576177999874342111801955685820548495312025332728478695344054281597709349962766594555215337603900413753336646103678756663553515820209732833186156602805888496776308218352209066468935039990019189354060777075626939608822756644798098055753773252202715652149755096708594155072505794802717408513927899667703153981897553786022821265373414600613600655562489706044756087095577004220515168556991053460025282578281300091754389503079531490893996307517857305412143521292879390867511230366624135988029543804759322898639686165661873872200611362434524855761013846432076186329452820764608084182655387387748621446105107283623378511089746325017202335605282872009088626554576515371118121998509500382147733525254398253181031382839920244984093617920865319034648264821614079', q: '2063679808010796643790028935994769680627744162488733142607718638863005678158073880019622560718772831597107689883906926814335404283591650533047705433213262041832911719305528716288088999937171055900977842910274247656012666364239347672027140798854674981383297277607668801950206876668323051839378331776757910104866416593078301402944248388154109176104533234467519995009594677030388537813469804411378322399049027876886626101357826074877548354297077536252897401358704256963949833851576990948776893011410632686707300306800327781244853022378043547788502110257584278495526730012641289140650045877194751539765745446998153758928652706071760646439695433755615183312067994014771902379661449319843082830936936100305681217262427880506923216038093164726410382304042091327693693874310723052553641811689255544873162508601167802641436004544313277288257685559060999254750191073866762627199126590515691419960122492046808960432659517324132410807039'}