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 1.88 kB
module.exports = { p: '3390234019315054120412756289765471221716165670232811726939126386930450214306599535423153193213685772641879759989329579580538514931599876906305323275168375276115976149439013605745621222333050834026860695047776075815844635995405161586228398574532350150024856939865112989940447247909370758947943471305453096156737602073976867280393146801943298633175367542389615459763436956338491010870383249998803602116522254122794770243204527606107444385109791193914976504990695962305526497524449864458675016421973582943860895316892618662168669233164719707350342978073239877508803768598582966618911222035260271798080778362308825212650089069534887411335132295624856695787802798575209784054797499081497776134483003010650403064216403134477482258806780681423935221223704433829117684518457091810031513197858954569236456815371192921594805896531781149803690175242761888103829407182799851057950447037108528022761952652339685931307402339683177767304703', q: '1695117009657527060206378144882735610858082835116405863469563193465225107153299767711576596606842886320939879994664789790269257465799938453152661637584187638057988074719506802872810611166525417013430347523888037907922317997702580793114199287266175075012428469932556494970223623954685379473971735652726548078368801036988433640196573400971649316587683771194807729881718478169245505435191624999401801058261127061397385121602263803053722192554895596957488252495347981152763248762224932229337508210986791471930447658446309331084334616582359853675171489036619938754401884299291483309455611017630135899040389181154412606325044534767443705667566147812428347893901399287604892027398749540748888067241501505325201532108201567238741129403390340711967610611852216914558842259228545905015756598929477284618228407685596460797402948265890574901845087621380944051914703591399925528975223518554264011380976326169842965653701169841588883652351'}