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: '982726981880098711567640776613019115036560034756945588457000808929974035596904205842091152649532037070793065335266604430367838202355898791096935912433874445306742542453582298978829674782202905630665382055169261830669184209221625718822129013899643320629650552455970476012013575585018200371863508267343270833733438703043475129743825660270760895497345248407398505877150801058060901309579511650113061218141009408946595818383942052912337777070467656498013918544701907115256108413456575186543975378226864786171733080637501828791701557562447555910570654212170904008545870750304642368959467989829412774494775744655842191084508187093378880727188212700662749402309424858965403343409708891444911032194788864815154628769777744771293627512602324155078425058287554574812453142428956140961515480640942637512790306659550465157817877167712134660954946134897538570812332439304418408458148782788940345635686116649207294166156856573273410613324816420529791443538349121338938855766780116398295497249207626583244315827173996850158401786701058312979855529595359610700742077927027622571126130347848134620987989215079969988045749663672361143838258374353411467610473441821076694343090201345778235604872800742635867388530814068272603519605068261242273696203787', q: '491363490940049355783820388306509557518280017378472794228500404464987017798452102921045576324766018535396532667633302215183919101177949395548467956216937222653371271226791149489414837391101452815332691027584630915334592104610812859411064506949821660314825276227985238006006787792509100185931754133671635416866719351521737564871912830135380447748672624203699252938575400529030450654789755825056530609070504704473297909191971026456168888535233828249006959272350953557628054206728287593271987689113432393085866540318750914395850778781223777955285327106085452004272935375152321184479733994914706387247387872327921095542254093546689440363594106350331374701154712429482701671704854445722455516097394432407577314384888872385646813756301162077539212529143777287406226571214478070480757740320471318756395153329775232578908938583856067330477473067448769285406166219652209204229074391394470172817843058324603647083078428286636705306662408210264895721769174560669469427883390058199147748624603813291622157913586998425079200893350529156489927764797679805350371038963513811285563065173924067310493994607539984994022874831836180571919129187176705733805236720910538347171545100672889117802436400371317933694265407034136301759802534130621136848101893'}