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: '631761472024621739537148084737468872021297657904240077682996159461615148972732643888597146580120900231314565933913497829705784604136113966912667873997482107639577958175095807849435347999735277030098369286107833898820253397137185586594639326558082515335346809893552798338257671184976506793081844560730887213816907088281294735605274948767547703316893679775632650318049560641896599036715622903212600710900831127798360283805878854688748014905858272488122822567614788592776290350031692104720722447281264920350176086502234661858199022085219593553371592082540065479025431467479002072290608141624871917957887043591840007192066309022491231432962759514522827238572873896060688613746628908730413252323648855317352973119709778626820247161021559528722347071819891697399958495669043320737631874500160232187889818584005996361693798705132822277769705684716962451987860779123962368381377220074853537183153286097631468605646272034860530696676693134454006880186749044684617560697986148920864208166487661006580941745619674603510645486859202006784238711648153727362728770317367721212389998160384473337977952486238556804048862258219527563393444070385770136827361333996752933992458248118633874010048351918924173833346104649883511299332397513583876303963353760085008484578465495239909159872466704082686929702852095539855180354325705334532483737919932088434458017753999213079835516119577068006056448525580856293557840680624818777495341931763519715916590663639636391674646225994737941526104837302285172088483654124081610905611950064312585809835436075861249800025099742836324911214436719071653010012533142783503830575966821060880102923187473075017166673121386882714590835047386155310557219468392369889885099204162938146536812643353896533390188770645978820471216984859339011090917406604466859430945463256959340742879606583433527982148178074956885103233298913838776304262552082517740261364345850295905366219943081940595876251149127456425229359540720520018229440564624670741173887635796726284935097625791296179124427816137862915594971868312466107362112774753653521543784235257577233003977329529231343263426224163009216206673961354448747051779901294797536421289099178538817157670362878903908263090484282414846926543579262358524926304710690458937198519982658492813681316916202994673293245976900774222770829516812573856028419361569723261961177902071142407973513055896544437559651958582605450855775689212564091781020152263966247852699860577347577383469066606186184458798824597873556710939882106228459', q: '315880736012310869768574042368734436010648828952120038841498079730807574486366321944298573290060450115657282966956748914852892302068056983456333936998741053819788979087547903924717673999867638515049184643053916949410126698568592793297319663279041257667673404946776399169128835592488253396540922280365443606908453544140647367802637474383773851658446839887816325159024780320948299518357811451606300355450415563899180141902939427344374007452929136244061411283807394296388145175015846052360361223640632460175088043251117330929099511042609796776685796041270032739512715733739501036145304070812435958978943521795920003596033154511245615716481379757261413619286436948030344306873314454365206626161824427658676486559854889313410123580510779764361173535909945848699979247834521660368815937250080116093944909292002998180846899352566411138884852842358481225993930389561981184190688610037426768591576643048815734302823136017430265348338346567227003440093374522342308780348993074460432104083243830503290470872809837301755322743429601003392119355824076863681364385158683860606194999080192236668988976243119278402024431129109763781696722035192885068413680666998376466996229124059316937005024175959462086916673052324941755649666198756791938151981676880042504242289232747619954579936233352041343464851426047769927590177162852667266241868959966044217229008876999606539917758059788534003028224262790428146778920340312409388747670965881759857958295331819818195837323112997368970763052418651142586044241827062040805452805975032156292904917718037930624900012549871418162455607218359535826505006266571391751915287983410530440051461593736537508583336560693441357295417523693077655278609734196184944942549602081469073268406321676948266695094385322989410235608492429669505545458703302233429715472731628479670371439803291716763991074089037478442551616649456919388152131276041258870130682172925147952683109971540970297938125574563728212614679770360260009114720282312335370586943817898363142467548812895648089562213908068931457797485934156233053681056387376826760771892117628788616501988664764615671631713112081504608103336980677224373525889950647398768210644549589269408578835181439451954131545242141207423463271789631179262463152355345229468599259991329246406840658458101497336646622988450387111385414758406286928014209680784861630980588951035571203986756527948272218779825979291302725427887844606282045890510076131983123926349930288673788691734533303093092229399412298936778355469941053114229'}