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: '962127457861850838058303518569443881301119253675345035378510295889177129422213588906407179805822845968230587754854720051505184440404078766424629304562823130277511100249633796236968348473293658161300254071090207151295405861042055921319313920283635185769185117281925240726434237122880119425566860035444317791158901899421626918824176273479364246318471400283279248513696816564828881123146703366792800436097018779053732980382199763134724556807495273744314075453865592468238015067702716720670461018416532847266501544367185932454330323540153381204830299063621835025311905490052545406694925339990336288635609897171871983381074645034001646129434925284437583692425794216761664210463544441297299606328405546413093753743452723076901897973779531824686541976042017159396970997899204611747096750384210370766804515383191475238416783420361385266620665831827395626180533340119330980747359004680422364336605721947022048800175047480785221481746472618665169659054502469786596680368164035269152120435754765145903956429515886441328607096612552869251501332927034560961520587263216500003824002695725033297093816811941837786711622502071795532216098216865549903448437028167697556280955378188661460018826428251336512155276002737449273279604263899683446558992499', q: '481063728930925419029151759284721940650559626837672517689255147944588564711106794453203589902911422984115293877427360025752592220202039383212314652281411565138755550124816898118484174236646829080650127035545103575647702930521027960659656960141817592884592558640962620363217118561440059712783430017722158895579450949710813459412088136739682123159235700141639624256848408282414440561573351683396400218048509389526866490191099881567362278403747636872157037726932796234119007533851358360335230509208266423633250772183592966227165161770076690602415149531810917512655952745026272703347462669995168144317804948585935991690537322517000823064717462642218791846212897108380832105231772220648649803164202773206546876871726361538450948986889765912343270988021008579698485498949602305873548375192105185383402257691595737619208391710180692633310332915913697813090266670059665490373679502340211182168302860973511024400087523740392610740873236309332584829527251234893298340184082017634576060217877382572951978214757943220664303548306276434625750666463517280480760293631608250001912001347862516648546908405970918893355811251035897766108049108432774951724218514083848778140477689094330730009413214125668256077638001368724636639802131949841723279496249'}