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: '734232591915752517003218658457333870884778606589015415712757908772960236348041169226403395398321705951545266493876311533091511698405787516910031418404980578142644339322370590388818094005915993589476429044349466405099166736959667829125621495839117586934513068854368733002282537768026324577246910044563689070884676645012032098805378224768078543510888223633447428384862233610027074900527401160812979599468877680129422337511171739272019469870885076958386290843077708746109399526579258119730456573041091544581201236104705222825147221189034749112191250305321395363075864352132900361273948770937745684838572687443594947328838896405018354813999642809226041753379072706894319199992786720390220276652581669984001725500994832887665807663092053028370984201613069985796187017470422231389625704057910147698046436633114907039664691683052187840084023177738349593594236658471917323328403975586485900821131477188515245057326951604864174259485530889857846653574988808325228178977895679086504328083688003662109950242028954605630060061217357287677841631339214280794397691757094167828115601128236336347216827317406095068681612746652176554487981438174203360072433898516727515643259093057690939469569514673817429379046956541034490987413791515974943075067194303424930318106108824187165708234838931755904287664498833810477684303759184614447722060427337346953289277696070556806332867805303201803936619682960163708293560470242399924297813766234482460832016979449609779461339517747452424637902317612312790384261542111109488092940929832522017039730158180742066100458988973321956898588205426139999407886404813402886821433736257274550474702136249405395482184320797920031479463764157357082045823675135585080685981003864537107885976476338341583196707512314688500245780421239739783719642597883774557565608982484522714677606193564944028721228293025442723215837905081858593252052504399850061117489351132055272759612572677332698474107304299520483623092715779795123527798017456841250911434726018351209233813160103432526466790891430133203897607413591892474999718131743117714261605561133684008866409730480455918120357712410631831919086001758395950592768780512878826595636248517140903525103396190553408506166090958615878678843871418098550965781364157057101552603407955766693177980479153649743454830997985152826341431401904094635319327651981431202348612308351305699770186514922274221268079467805608758937376415505142734120313414367641943945224928849168015795264684150344117965739451166415024022631651778890539', q: '367116295957876258501609329228666935442389303294507707856378954386480118174020584613201697699160852975772633246938155766545755849202893758455015709202490289071322169661185295194409047002957996794738214522174733202549583368479833914562810747919558793467256534427184366501141268884013162288623455022281844535442338322506016049402689112384039271755444111816723714192431116805013537450263700580406489799734438840064711168755585869636009734935442538479193145421538854373054699763289629059865228286520545772290600618052352611412573610594517374556095625152660697681537932176066450180636974385468872842419286343721797473664419448202509177406999821404613020876689536353447159599996393360195110138326290834992000862750497416443832903831546026514185492100806534992898093508735211115694812852028955073849023218316557453519832345841526093920042011588869174796797118329235958661664201987793242950410565738594257622528663475802432087129742765444928923326787494404162614089488947839543252164041844001831054975121014477302815030030608678643838920815669607140397198845878547083914057800564118168173608413658703047534340806373326088277243990719087101680036216949258363757821629546528845469734784757336908714689523478270517245493706895757987471537533597151712465159053054412093582854117419465877952143832249416905238842151879592307223861030213668673476644638848035278403166433902651600901968309841480081854146780235121199962148906883117241230416008489724804889730669758873726212318951158806156395192130771055554744046470464916261008519865079090371033050229494486660978449294102713069999703943202406701443410716868128637275237351068124702697741092160398960015739731882078678541022911837567792540342990501932268553942988238169170791598353756157344250122890210619869891859821298941887278782804491242261357338803096782472014360614146512721361607918952540929296626026252199925030558744675566027636379806286338666349237053652149760241811546357889897561763899008728420625455717363009175604616906580051716263233395445715066601948803706795946237499859065871558857130802780566842004433204865240227959060178856205315915959543000879197975296384390256439413297818124258570451762551698095276704253083045479307939339421935709049275482890682078528550776301703977883346588990239576824871727415498992576413170715700952047317659663825990715601174306154175652849885093257461137110634039733902804379468688207752571367060156707183820971972612464424584007897632342075172058982869725583207512011315825889445269'}