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: '5116442771114603669259594010253964780466182810206005247513187120820782489003635710388367114536469859792436280832930829508637129957819764514470254189460317486941734565361703231034604332177887152502067570729254645422537155698774615752549177666613327640439248838745660621616887603434950906337522039042402758221801465696429016394725444765468769188172499611978482516253859921456218240141859629997356004636418669285182377222826636651287063486662629336278275441899522943515427592815864200883729546724406886993093982644684666310408879617302926375313684123309912928836603744518575046831877593648640842105463301441741063120907752774143213536248033611353963080526539320656509344390408023517212209011618397772119870180096957064817581567769073824317268271251036371284940246152558737087953610947048102926392737353464989036959277627025251037470243945054442964389786390334417756719564165503486397309926565239600295846928706130558660593096399', q: '2558221385557301834629797005126982390233091405103002623756593560410391244501817855194183557268234929896218140416465414754318564978909882257235127094730158743470867282680851615517302166088943576251033785364627322711268577849387307876274588833306663820219624419372830310808443801717475453168761019521201379110900732848214508197362722382734384594086249805989241258126929960728109120070929814998678002318209334642591188611413318325643531743331314668139137720949761471757713796407932100441864773362203443496546991322342333155204439808651463187656842061654956464418301872259287523415938796824320421052731650720870531560453876387071606768124016805676981540263269660328254672195204011758606104505809198886059935090048478532408790783884536912158634135625518185642470123076279368543976805473524051463196368676732494518479638813512625518735121972527221482194893195167208878359782082751743198654963282619800147923464353065279330296548199'}