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 2.5 kB
module.exports = { p: '832971806786781713002748974166371735136016670826287577953894427808069173323422436688565152756047680224071289168397404455240583669533090418557041301277296531476584782101994700570009823041635193935601555590263174941162090731946432652630660171642588179762728510570811465592162782985220933583369137152484448478958324903516504179976497839325594573539209089626491035943497547042458538489729260161672116573003388612700222266996221439594550504828248579056943425651276771839268673954178667542876718183176024778010814917506518109175363132479437102007227027131212837474432002501418306585448657463280099311547700245389490333201100700369889332237492276436899199886472386260843455083400627892303064816406545162740131823436032460862801661583507173009085417579377473156269835942479275966267724114931504897094791544718938470380820625386824167148780187242014825224507887451911659133896068264048622067346741189668305281844562945511994298286838263977403614374771469106997034245940755021963308043227039971553753096966752931272050096193938863402719866875872836318208810154628238162714941988531920862337785398800334232275799910001043350457216301973113023019707570917056559577141948922376499147096919614070637320276964792969889105388165036255472931164907087', q: '416485903393390856501374487083185867568008335413143788976947213904034586661711218344282576378023840112035644584198702227620291834766545209278520650638648265738292391050997350285004911520817596967800777795131587470581045365973216326315330085821294089881364255285405732796081391492610466791684568576242224239479162451758252089988248919662797286769604544813245517971748773521229269244864630080836058286501694306350111133498110719797275252414124289528471712825638385919634336977089333771438359091588012389005407458753259054587681566239718551003613513565606418737216001250709153292724328731640049655773850122694745166600550350184944666118746138218449599943236193130421727541700313946151532408203272581370065911718016230431400830791753586504542708789688736578134917971239637983133862057465752448547395772359469235190410312693412083574390093621007412612253943725955829566948034132024311033673370594834152640922281472755997149143419131988701807187385734553498517122970377510981654021613519985776876548483376465636025048096969431701359933437936418159104405077314119081357470994265960431168892699400167116137899955000521675228608150986556511509853785458528279788570974461188249573548459807035318660138482396484944552694082518127736465582453543'}