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: '992596726396269257024816165931983028485803802474363723099827743612704377806114981161083474501736955008657810116587848956706607028713775424785307213544106985593270077232414336003162969752137403146126241277294257714810492867678113550224878804847309522237860590591766088610043916152458132502102856345604057803043101484130112550429283543575542512233254058244140688823040578644400363060474773711966235237942150487574004960188857772206621125240989370005939837283318199481042600771167214525580583300911091484470792253780742968560058462564023971990591198396891024527074444493415368763724394988841975098377919750994389450285286575345481084664319279876146212827427799166716623159034970475335062480911157162968011327329154187246223207451108117983993243108730417406224662794214176905814905072250867527331963621599565439280808577370307581608763640413396296648600934114697166229975576968946847462676080390186999865395648590693667486545422220959568299286476573773636221387654364283104557861146022314120595626088416293829174556632657698609562271819150289337136396183186316737516609477970967336069767553787217379661424144774555110865917032398160547833193542596034404817456627238032180773552955326649055611287309276559718259461207184174146374673315519', q: '496298363198134628512408082965991514242901901237181861549913871806352188903057490580541737250868477504328905058293924478353303514356887712392653606772053492796635038616207168001581484876068701573063120638647128857405246433839056775112439402423654761118930295295883044305021958076229066251051428172802028901521550742065056275214641771787771256116627029122070344411520289322200181530237386855983117618971075243787002480094428886103310562620494685002969918641659099740521300385583607262790291650455545742235396126890371484280029231282011985995295599198445512263537222246707684381862197494420987549188959875497194725142643287672740542332159639938073106413713899583358311579517485237667531240455578581484005663664577093623111603725554058991996621554365208703112331397107088452907452536125433763665981810799782719640404288685153790804381820206698148324300467057348583114987788484473423731338040195093499932697824295346833743272711110479784149643238286886818110693827182141552278930573011157060297813044208146914587278316328849304781135909575144668568198091593158368758304738985483668034883776893608689830712072387277555432958516199080273916596771298017202408728313619016090386776477663324527805643654638279859129730603592087073187336657759'}