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.26 kB
module.exports = { p: '18953940036158039704745480251077937042377638605460906111897392930283605631075773072570677268422743447545681826222960862297797530177033832007788504753185895463271903088620437853825815021753559122300476472185398569053427408216503471998530694846905594897876113706269917032763912603719505927738504728295262114369286669355740696453506634167227074118576064369195518127704085985621777139197083950901681296164730604717957028106902574323934022475990921533910155384239586523060058255044052641740637646599664253520444728467000226027570075803927384621179667439611358727391258423780356643284431226584555246793679685233430150967107', q: '9476970018079019852372740125538968521188819302730453055948696465141802815537886536285338634211371723772840913111480431148898765088516916003894252376592947731635951544310218926912907510876779561150238236092699284526713704108251735999265347423452797448938056853134958516381956301859752963869252364147631057184643334677870348226753317083613537059288032184597759063852042992810888569598541975450840648082365302358978514053451287161967011237995460766955077692119793261530029127522026320870318823299832126760222364233500113013785037901963692310589833719805679363695629211890178321642215613292277623396839842616715075483553'}