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: '715945319185425446641226217974690167986494111681863273039562796199337383568662376467488737930245502858629185108069464965672980408249147199004336191870957524824232591283939762647099636820969769613527894027230127978425522747205366496887301349615421847934903079723810999218270911438746631421457396758739812654827215294359252589717956430510244843827744580757246633478520566713380806996666468061427067531919390078188455243983846479743587559679548067094828704199446665253725480558990842632477429242069364426901054414936139519605069657026467215556892363832926891441169316588232171525561197417025475771432108088500057065141861508635433109468484429621194412660064065847824895293370738388393511246283975255777704957064961440456497874052961630616007656889587834453953950071118125240298876179836229498126984970728242834383513882751949426545555360938040908070880782792744500481150673924569600334739180921574314074990394198309616497302757733096388281177330192980102764372580781385316292782211866562530446458659776779920058503315014940684466204721533672148626623225990981088893095292228558383503643544164377499487965714228418503008543957754067540779490363684964962231290804186851066352144947674667319861769815853081203839153664941622166848194467379', q: '357972659592712723320613108987345083993247055840931636519781398099668691784331188233744368965122751429314592554034732482836490204124573599502168095935478762412116295641969881323549818410484884806763947013615063989212761373602683248443650674807710923967451539861905499609135455719373315710728698379369906327413607647179626294858978215255122421913872290378623316739260283356690403498333234030713533765959695039094227621991923239871793779839774033547414352099723332626862740279495421316238714621034682213450527207468069759802534828513233607778446181916463445720584658294116085762780598708512737885716054044250028532570930754317716554734242214810597206330032032923912447646685369194196755623141987627888852478532480720228248937026480815308003828444793917226976975035559062620149438089918114749063492485364121417191756941375974713272777680469020454035440391396372250240575336962284800167369590460787157037495197099154808248651378866548194140588665096490051382186290390692658146391105933281265223229329888389960029251657507470342233102360766836074313311612995490544446547646114279191751821772082188749743982857114209251504271978877033770389745181842482481115645402093425533176072473837333659930884907926540601919576832470811083424097233689'}