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 • 2.5 kB
JavaScript
module.exports = { p: '714693217673414550283591135970068031239698636894343332153002900161699831699183510497060021797211412415524895321425106597628453709551191901936297374467752942567603287629401605180246218008257358110574785272145186504704973005492902235883978957246918170757301462587357031558244593135841401967145133485279843573336900433830810101064373849464633328523512233696203450731554300019173015863367873401168710224384776102933289188770086729259716287733754010160467526415587988550914223917738856459220236626927795709786226498847847859729069789586904404228413671223229912009735994558075780321971950025403247931009462362610760960346109375387960517676453319040557261743575562356971332215329395159406886994577474188604035528938385347832468571375146268882109606888760669100183267253139275916891465985397441713607926488996252946790096043778268557514918187406402463426024013287228927396590874788358112829780182607398345485057962946686339032895607876320668829081177280065013377416347324909001446919750386985173884097961075823289571964285621652575572542400552040806806160831556813288054118107266374127752368902274196870009679618482277724869452228448154653571195332213983921715229989109945645706107349379878413569945613586812785869698237567518671902331520123', q: '357346608836707275141795567985034015619849318447171666076501450080849915849591755248530010898605706207762447660712553298814226854775595950968148687233876471283801643814700802590123109004128679055287392636072593252352486502746451117941989478623459085378650731293678515779122296567920700983572566742639921786668450216915405050532186924732316664261756116848101725365777150009586507931683936700584355112192388051466644594385043364629858143866877005080233763207793994275457111958869428229610118313463897854893113249423923929864534894793452202114206835611614956004867997279037890160985975012701623965504731181305380480173054687693980258838226659520278630871787781178485666107664697579703443497288737094302017764469192673916234285687573134441054803444380334550091633626569637958445732992698720856803963244498126473395048021889134278757459093703201231713012006643614463698295437394179056414890091303699172742528981473343169516447803938160334414540588640032506688708173662454500723459875193492586942048980537911644785982142810826287786271200276020403403080415778406644027059053633187063876184451137098435004839809241138862434726114224077326785597666106991960857614994554972822853053674689939206784972806793406392934849118783759335951165760061'}