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.26 kB
module.exports = { p: '19312163883499008659132678868748259710358387394376763601039123363145379228137254983815583508716003119743485745133217443794098610448084138150556444296312857564192234502535532618031471662909472053576715025721330690600862699794912091505993449525246362417053868378888559630737346646223520515828927831548464919403305665488128932898360110193194635398070458765229974808603878411352033015344030019623689019463022343896254033281249086646376366352457449859033411983262598962660648489406077014325173585496844540397668958176780333905603418104448141340005590413576006890581151561668690901471296030079785783261864257539279112095743', q: '9656081941749504329566339434374129855179193697188381800519561681572689614068627491907791754358001559871742872566608721897049305224042069075278222148156428782096117251267766309015735831454736026788357512860665345300431349897456045752996724762623181208526934189444279815368673323111760257914463915774232459701652832744064466449180055096597317699035229382614987404301939205676016507672015009811844509731511171948127016640624543323188183176228724929516705991631299481330324244703038507162586792748422270198834479088390166952801709052224070670002795206788003445290575780834345450735648015039892891630932128769639556047871'}