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.88 kB
module.exports = { p: '4088922605380013838043055256949093658367953489364516223777494004845445492362768719355673476107603862949275148891215306085911857437157787420235269742618491059820220628153025270007532631721660759614633523892594850079845176545450059397640532968199459276026204226280687529471631652380844051324879895020591933228589009694970214595177286859829620732205793427330590314558047835873051200251050098608337380468509990819659736989683406532351368143453033889920346808671321166674884364267441709735877093364784392377443483838607883635669663553959666196642077787971353361705346387637033775223586387680151970508141827074121811455891627821653726562014548073238983768736034935691031960137775253605313846987870791965146333122918065666606722755204621608058523801187462305503475997614151985496158149243719998482117262275782956530022704280236573058057670656560373961214531905876463878213985590083084117642608767477971696807913829804578484443309379', q: '2044461302690006919021527628474546829183976744682258111888747002422722746181384359677836738053801931474637574445607653042955928718578893710117634871309245529910110314076512635003766315860830379807316761946297425039922588272725029698820266484099729638013102113140343764735815826190422025662439947510295966614294504847485107297588643429914810366102896713665295157279023917936525600125525049304168690234254995409829868494841703266175684071726516944960173404335660583337442182133720854867938546682392196188721741919303941817834831776979833098321038893985676680852673193818516887611793193840075985254070913537060905727945813910826863281007274036619491884368017467845515980068887626802656923493935395982573166561459032833303361377602310804029261900593731152751737998807075992748079074621859999241058631137891478265011352140118286529028835328280186980607265952938231939106992795041542058821304383738985848403956914902289242221654689'}