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.27 kB
module.exports = { p: '23835897421609076902399746041608831012904329752346420919445182872790388907366892397520209642990237049700812142894118977419558901224959173862933098406646434933256624805880663030755929141784348808481977012463335530171194549390447029267859662701760949975895102864034815553543306654781615705500338179284112828596807403782487831957949663597803984813515444755372869285261871977692609747381936985039774999737642660493879042088125362345392279891452403930483870128937803071938097973519849236086688434526390192817049568364816129793640662690871847058128623046999045250487208784686830460463945536723468317280380214596015581084087', q: '11917948710804538451199873020804415506452164876173210459722591436395194453683446198760104821495118524850406071447059488709779450612479586931466549203323217466628312402940331515377964570892174404240988506231667765085597274695223514633929831350880474987947551432017407776771653327390807852750169089642056414298403701891243915978974831798901992406757722377686434642630935988846304873690968492519887499868821330246939521044062681172696139945726201965241935064468901535969048986759924618043344217263195096408524784182408064896820331345435923529064311523499522625243604392343415230231972768361734158640190107298007790542043'}