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: '19388663517008186017715201892781557868310669551543940938785740060066761075064549011571528744952664405277621132236570866280093512023091068654659372611861212321600869068313971964470665301900112500342980828692315899760512968136334657924069632429143390755057983107202938039975849870994999528435170978755663033514068453284590138245005060329937984727834835160261325031085473527247422878435968968674304726437152575798319519736386187031741535254208753477016878769386090885941071819291960155967583093582348041759503897868926310812053494194773017091849312289236934754184510580826100875330182404661335412398819677151820153033339', q: '9694331758504093008857600946390778934155334775771970469392870030033380537532274505785764372476332202638810566118285433140046756011545534327329686305930606160800434534156985982235332650950056250171490414346157949880256484068167328962034816214571695377528991553601469019987924935497499764217585489377831516757034226642295069122502530164968992363917417580130662515542736763623711439217984484337152363218576287899159759868193093515870767627104376738508439384693045442970535909645980077983791546791174020879751948934463155406026747097386508545924656144618467377092255290413050437665091202330667706199409838575910076516669'}