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.88 kB
module.exports = { p: '3600583273276861016637996055128016203603463978096914538680631957366345257672092456919481439634766642244476690044615968171771527989598683757900174307465346541850994518142946183582104085445697720043534012434385249416319672561490390784994814707245164849660157469148535322529505140348198017398396470554829260219349802435752211927454168001879745592359798739580319457214956941937173384984174137519862112576755337309945149838177881710248016190772557025564950832717144663174079724292952158596573513007471655102100895131515503564516721512284581521085029790774777938989070144090853724317063464834831894566371689245437830284313885730543434745435448873086897262759956169394610448322989034082307204985619985519614601658691997438646005703066346639216288548446408111267223825017069075302677783243079202858206437795525382770340306989886509582061987550829985727552959809602066545651996711361773661073300456171125321561708173277438553568503619', q: '1800291636638430508318998027564008101801731989048457269340315978683172628836046228459740719817383321122238345022307984085885763994799341878950087153732673270925497259071473091791052042722848860021767006217192624708159836280745195392497407353622582424830078734574267661264752570174099008699198235277414630109674901217876105963727084000939872796179899369790159728607478470968586692492087068759931056288377668654972574919088940855124008095386278512782475416358572331587039862146476079298286756503735827551050447565757751782258360756142290760542514895387388969494535072045426862158531732417415947283185844622718915142156942865271717372717724436543448631379978084697305224161494517041153602492809992759807300829345998719323002851533173319608144274223204055633611912508534537651338891621539601429103218897762691385170153494943254791030993775414992863776479904801033272825998355680886830536650228085562660780854086638719276784251809'}