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: '29213275013557181349377511183435185956325078347279875894962376614425928625946668205051611555446007133953047793170280716686268976503376631266153000378982803355231343167393550998540343971767979311689739332177896126063572040317487490109585394110009772651874522375716300327085017420994331718003381223565797190485022522778733132974466616400586245391972190508975984190577189772226940646164021210821466743986279862490306131310717683119820490080776949904142192306162832176062330962956898136404734380285976404971668246246886093861463448030575752220008662852649892735074626312922699107508757109245609510699356553799180512104567', q: '14606637506778590674688755591717592978162539173639937947481188307212964312973334102525805777723003566976523896585140358343134488251688315633076500189491401677615671583696775499270171985883989655844869666088948063031786020158743745054792697055004886325937261187858150163542508710497165859001690611782898595242511261389366566487233308200293122695986095254487992095288594886113470323082010605410733371993139931245153065655358841559910245040388474952071096153081416088031165481478449068202367190142988202485834123123443046930731724015287876110004331426324946367537313156461349553754378554622804755349678276899590256052283'}