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
JavaScript
module.exports = { p: '5699332549891360162517887727173430567869127212236519669941360013584960388537675396835721458666443365330358970970139187802875877376488107414145271853843045096578143914389404543359804083927652801286522611165815660430850979040949992900473066760682803295062375485405335423437614411507989833384757101792112506688587757518740177618763363302381561981527720850088281573781017314036581722999693411549537669041741565110101345981652905108075681818260371367002957178046750284486021340746126497670061674066119498917758614854935316767612062883078296502980984445572257494281193487460504576707055838037625848333196189673401615073179212594596732218945449615277741619186580709996049945042467301681691884171145662275167212760677954723847925384564259194643968927716193982708464606386012173605229966904410641263117554369855046640747513228157395636632088975556546203009209139134619034270684970188288903891989448177003564160843507439147392911769683', q: '2849666274945680081258943863586715283934563606118259834970680006792480194268837698417860729333221682665179485485069593901437938688244053707072635926921522548289071957194702271679902041963826400643261305582907830215425489520474996450236533380341401647531187742702667711718807205753994916692378550896056253344293878759370088809381681651190780990763860425044140786890508657018290861499846705774768834520870782555050672990826452554037840909130185683501478589023375142243010670373063248835030837033059749458879307427467658383806031441539148251490492222786128747140596743730252288353527919018812924166598094836700807536589606297298366109472724807638870809593290354998024972521233650840845942085572831137583606380338977361923962692282129597321984463858096991354232303193006086802614983452205320631558777184927523320373756614078697818316044487778273101504604569567309517135342485094144451945994724088501782080421753719573696455884841'}