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
JavaScript
module.exports = { p: '1045765971087361212448337799702003483067770750715621177539020525691694241930852565215244364691533638339294463758874187636368299709122270678186412578073796160497593898230648833230994089413286596461458720949025656923591298589013509182251375315425323318634568340113153604168593534657246148890298628539251376348474602822479776597353837178594946049427770372607086263345265643574532707833208480924731064658837257059495264460195811298768182479969397818166464923984448172173274743522893004638811317161476116389765069625567808340196710337314418999872444640269971731971360268699270179950552535522217888966657889418975436828384217540238061678915114495028682557228351193192520997348422762180669912848556745662196268617984157781225470434413754599480238092385582059174965527376700076780856488792032831122388605857254481398469477369202364887451905031688483814082785250968427712168996383918283159751104132556202627979414139925463040887100914368496379427469695347508183360325416328846626298960079677196555394539090491496986481730525031306113286301254745893008522605716112377409502614501238538213024946430420558866094881244600030761833233952422154005378500178362836674199836784907833722469068692506721358454138144309664161896610122298434447094379506869600280917272709727891876990149186721028560395813892672599712320249951880060442329563168388954634163988876225063194170421313345658652377068516810189070858067979071053800708551458814304653872060662674348634356072456564784002592105621162141669391591550943654128516833221712931150394627985429847316106541120175727781271008479775959365910383990285202202824301460581773112014186760909928748476496691656078851533437122477633085533868404324555532496972421981476752966932436938758124881272965200514142620994651535873887160218680945470066077576538466631870812935463878065284651691527282249196211161635578284962664161917791898171303550480057713036450407453941354254629518543307331255475115264329521313509374252018061923093019391044324274633189437969724698002101756143727480384281394892966607845490844659287377374022896633015755449932436815358151474386294515441579385387637978874273749348730468112312033087509395333345926249674234273296102557693373544260007132964781206599867490753611016284659191342114987809760462450218084399874255923764888292463266021689776739106806532060735167548901399312460043364057745418090595379779634996952631269701216497494678604621377155112933909173760849241400228856916672932118164704382763121634072852677443620795679', q: '522882985543680606224168899851001741533885375357810588769510262845847120965426282607622182345766819169647231879437093818184149854561135339093206289036898080248796949115324416615497044706643298230729360474512828461795649294506754591125687657712661659317284170056576802084296767328623074445149314269625688174237301411239888298676918589297473024713885186303543131672632821787266353916604240462365532329418628529747632230097905649384091239984698909083232461992224086086637371761446502319405658580738058194882534812783904170098355168657209499936222320134985865985680134349635089975276267761108944483328944709487718414192108770119030839457557247514341278614175596596260498674211381090334956424278372831098134308992078890612735217206877299740119046192791029587482763688350038390428244396016415561194302928627240699234738684601182443725952515844241907041392625484213856084498191959141579875552066278101313989707069962731520443550457184248189713734847673754091680162708164423313149480039838598277697269545245748493240865262515653056643150627372946504261302858056188704751307250619269106512473215210279433047440622300015380916616976211077002689250089181418337099918392453916861234534346253360679227069072154832080948305061149217223547189753434800140458636354863945938495074593360514280197906946336299856160124975940030221164781584194477317081994438112531597085210656672829326188534258405094535429033989535526900354275729407152326936030331337174317178036228282392001296052810581070834695795775471827064258416610856465575197313992714923658053270560087863890635504239887979682955191995142601101412150730290886556007093380454964374238248345828039425766718561238816542766934202162277766248486210990738376483466218469379062440636482600257071310497325767936943580109340472735033038788269233315935406467731939032642325845763641124598105580817789142481332080958895949085651775240028856518225203726970677127314759271653665627737557632164760656754687126009030961546509695522162137316594718984862349001050878071863740192140697446483303922745422329643688687011448316507877724966218407679075737193147257720789692693818989437136874674365234056156016543754697666672963124837117136648051278846686772130003566482390603299933745376805508142329595671057493904880231225109042199937127961882444146231633010844888369553403266030367583774450699656230021682028872709045297689889817498476315634850608248747339302310688577556466954586880424620700114428458336466059082352191381560817036426338721810397839'}