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: '1057014039836373425209808454481247112528524916954222090056712606891719833507616699946151128605094718820394969112959053771010876826647113113553876510804964694208188065819792146789667464378347364907650090274244714626985357093137303981170946400981065827769826959380451934744897261156700152232350933379697282027570809358088483339498371300681013787107741358829126001210837048518840479153795839153513290673657211263232320517227974649623949202174276341110191265035802055960129649307063701389103452517895072626394485303081574240420318169313358830950158879512259716488448501362058106042443437785170927932810816552398253815060045240282355375181272468094797744794391886946983682342473277998711403650076196350382594318584312691753876335741424603908583150854622908161049162444672850718900472216165601800779095730099972756342173787534295138603093066116812781492125817161119791138742902426261298828643114295405471745005257086474517411305533970211690770747426302874714510550894616937999528799288673590122775019416527929197705871825027498422753234583628083195400035249249347243732580100613857817342006309916144114723087555276829657000548168331219328141700230357397546464560395707621368506474209872219902185391756645313217039390811711558283812998606737583834560225197587374195279141398481986112676619244298316689703791882950020232760428577776279079457205567027374879337279638929691486468880666517803453024153279104727484462159968121019659318788084833848993514296993190135931120052277683116829142328141471663565281264861326417847990603629704344072550754988130485954975253939976698392812713010432209792137356699213545314957993640682163176781250087710289087258504535882535874070553730183982356135735518463413862618739452579178771096718872565031036371552920175450894628721671809917094525814359882634511292332854095843840711430980933373720412551081354155259492883503450531384234217010178339526861225029399676050685373276946253857098525967145001158102566978142730854466373114383985414356196646978074920644282412242234216750880207841766511430746940073962412474062158301269524696584854866579888305142411670128617243894068745575880521721990047529698865605695383398868109952548625323898700370842571056482019141126462337157023479733636968675533239837928165491572393301734301754877411633027911545352985046369086467127776631129238339130639367192766979441204087957383367976536079937335892221413995745753455558783521526828139973949196146671852303558313040789248599577826601112089326621691263834598919', q: '528507019918186712604904227240623556264262458477111045028356303445859916753808349973075564302547359410197484556479526885505438413323556556776938255402482347104094032909896073394833732189173682453825045137122357313492678546568651990585473200490532913884913479690225967372448630578350076116175466689848641013785404679044241669749185650340506893553870679414563000605418524259420239576897919576756645336828605631616160258613987324811974601087138170555095632517901027980064824653531850694551726258947536313197242651540787120210159084656679415475079439756129858244224250681029053021221718892585463966405408276199126907530022620141177687590636234047398872397195943473491841171236638999355701825038098175191297159292156345876938167870712301954291575427311454080524581222336425359450236108082800900389547865049986378171086893767147569301546533058406390746062908580559895569371451213130649414321557147702735872502628543237258705652766985105845385373713151437357255275447308468999764399644336795061387509708263964598852935912513749211376617291814041597700017624624673621866290050306928908671003154958072057361543777638414828500274084165609664070850115178698773232280197853810684253237104936109951092695878322656608519695405855779141906499303368791917280112598793687097639570699240993056338309622149158344851895941475010116380214288888139539728602783513687439668639819464845743234440333258901726512076639552363742231079984060509829659394042416924496757148496595067965560026138841558414571164070735831782640632430663208923995301814852172036275377494065242977487626969988349196406356505216104896068678349606772657478996820341081588390625043855144543629252267941267937035276865091991178067867759231706931309369726289589385548359436282515518185776460087725447314360835904958547262907179941317255646166427047921920355715490466686860206275540677077629746441751725265692117108505089169763430612514699838025342686638473126928549262983572500579051283489071365427233186557191992707178098323489037460322141206121117108375440103920883255715373470036981206237031079150634762348292427433289944152571205835064308621947034372787940260860995023764849432802847691699434054976274312661949350185421285528241009570563231168578511739866818484337766619918964082745786196650867150877438705816513955772676492523184543233563888315564619169565319683596383489720602043978691683988268039968667946110706997872876727779391760763414069986974598073335926151779156520394624299788913300556044663310845631917299459'}