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 4.96 kB
module.exports = { p: '718694224678148694240663564067069256675237183625322045977850450419940099016165132071775317266743353306146821852969845075411484975880667344105268868915152355144401242595850092451882321369320230385323148479173417604175299494872417945766085352328954328751472308265464326574485526238391622812946430675899743815500779715981866471473808448781776630933802999617230032614258793918425230434418767887204161108442085104821679086482814497770129601393448079028292948366960626207798441123231299102290561582704196498003874046561117839033943076798401221767459495339161178272456330492577777264272017694909098965428865356985650960593433153691299893782677184308502315132256538705326942479929523691679798807940756069524988084481116487052207853189378467008780968246558296526068665610104123232961462623693113892299631158245099121308770900246303877582884322141817635271811415912975478931673444169030856031681878515587947062126664912025835264358339388735008336645114050388742737294272858752109450589883292196010982141168571971373711535602072282125349703190459354384671148187967919198422077444812863495551529280516465724142170354192372905320331992712463739677943925532198384205885127377112625249888444053676581200724177101294728135588804390829084256022188252555262848702173814276998712102807969034699260272078062646752806539170020346090328974892647398841176091368921803524419267201267980414394451437153206170706585102114578154407376133881918230975036172016892253254569887924815657988456755937086219570040231920010382641956100228491895635870023408769333215174540645408776539940550832560390702364403566127782212051178845559063729081452461096306162143203918959021127956986087753253917138660641917315264175260974317728956242214151711253056831007450770037806278173317511823108652898493878512956612372654325957447314859087800188280462269203277583761219255750515921647760315905942204771150673361652088409803956811374985558089573936318108920152800643086677316817300554480631086736489972295413821076654046291507907723007488875060472138658147903362048271491284011893516440671924886053797389202751567125752651209940467998455470993237340353555587594645300524904800257072694273261693048835859189937565056847330138950226572278860454272467047006237535253994378323556128279637400941681335205204566299794913620351879443175758454096561714650040209490547096067037350627111441341719922029475717506017435390481057819710871499791656606875076101884975240919099334753543534044485318218435226073101258881196924230303', q: '359347112339074347120331782033534628337618591812661022988925225209970049508082566035887658633371676653073410926484922537705742487940333672052634434457576177572200621297925046225941160684660115192661574239586708802087649747436208972883042676164477164375736154132732163287242763119195811406473215337949871907750389857990933235736904224390888315466901499808615016307129396959212615217209383943602080554221042552410839543241407248885064800696724039514146474183480313103899220561615649551145280791352098249001937023280558919516971538399200610883729747669580589136228165246288888632136008847454549482714432678492825480296716576845649946891338592154251157566128269352663471239964761845839899403970378034762494042240558243526103926594689233504390484123279148263034332805052061616480731311846556946149815579122549560654385450123151938791442161070908817635905707956487739465836722084515428015840939257793973531063332456012917632179169694367504168322557025194371368647136429376054725294941646098005491070584285985686855767801036141062674851595229677192335574093983959599211038722406431747775764640258232862071085177096186452660165996356231869838971962766099192102942563688556312624944222026838290600362088550647364067794402195414542128011094126277631424351086907138499356051403984517349630136039031323376403269585010173045164487446323699420588045684460901762209633600633990207197225718576603085353292551057289077203688066940959115487518086008446126627284943962407828994228377968543109785020115960005191320978050114245947817935011704384666607587270322704388269970275416280195351182201783063891106025589422779531864540726230548153081071601959479510563978493043876626958569330320958657632087630487158864478121107075855626528415503725385018903139086658755911554326449246939256478306186327162978723657429543900094140231134601638791880609627875257960823880157952971102385575336680826044204901978405687492779044786968159054460076400321543338658408650277240315543368244986147706910538327023145753953861503744437530236069329073951681024135745642005946758220335962443026898694601375783562876325604970233999227735496618670176777793797322650262452400128536347136630846524417929594968782528423665069475113286139430227136233523503118767626997189161778064139818700470840667602602283149897456810175939721587879227048280857325020104745273548033518675313555720670859961014737858753008717695240528909855435749895828303437538050942487620459549667376771767022242659109217613036550629440598462115151'}