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: '658851163963455899433670943699702930176641006754318023018960848115200233629932246218354374619708916416892083416708817979253425259667304692897401461051217609702871037118620408330733090804498516871476916349924367914314169102210830640045610890954836928905435695705731209906911342967586263843115975377015008033147016073972029056352194414812530518280647730333851439840836543406836061387656151407628625896535375032070392006344775620461049557838774889727919816099812560421540840317589909723947074825443446277759781403888774614391390250606103846694114824147587412136252946454499887185568019439425992091234080862194035918756495220774897433205952150863047969555352604496770912253433263133926259661570368895013497388910822335846540165452139032984366655470724515508640674653135261073943673449190128891240856938003068019234915705100040039193502450523482452747157902036961334686215456914680676994101133018773947217203440331517022544263958917768221414704627157086586588394967236173174569093690906058509403113715598178016005182764110343067113506671646880337746820598827310653932338376234937846756052857216047697013640300151297938240524590919453531116396304210753678482632382114253072708811735185608301597185244441501839198371069160095610063093838863', q: '329425581981727949716835471849851465088320503377159011509480424057600116814966123109177187309854458208446041708354408989626712629833652346448700730525608804851435518559310204165366545402249258435738458174962183957157084551105415320022805445477418464452717847852865604953455671483793131921557987688507504016573508036986014528176097207406265259140323865166925719920418271703418030693828075703814312948267687516035196003172387810230524778919387444863959908049906280210770420158794954861973537412721723138879890701944387307195695125303051923347057412073793706068126473227249943592784009719712996045617040431097017959378247610387448716602976075431523984777676302248385456126716631566963129830785184447506748694455411167923270082726069516492183327735362257754320337326567630536971836724595064445620428469001534009617457852550020019596751225261741226373578951018480667343107728457340338497050566509386973608601720165758511272131979458884110707352313578543293294197483618086587284546845453029254701556857799089008002591382055171533556753335823440168873410299413655326966169188117468923378026428608023848506820150075648969120262295459726765558198152105376839241316191057126536354405867592804150798592622220750919599185534580047805031546919431'}