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: '5216675129459829304939599502941672427302106229451841184919298390877199507775522550195065039084729471206605840995442815479415021942115090404067044243054446238979278217414234232637195974824105517372950241188695382752322617985055176493628883863358788728733982438861381641389835214610399675738004617772696454242075858971949490572563202016885320705326898700440010133400162288885670855718363932313900797661936442467243260151294935902310887401083860171808449009645235186075898507202080157816890209729889613873145456981146655791764120417240370282855357933532550929027613000528632948956736629021574987699181816332035073988412507706990137798489306687167253208604695315640740891428374418513049079806555078385666601801850170783713649122277364258374184855396871578981900308365150863676548472073395473529480483996581913678477442913414511351362667638514218404814082925353113304220387443449946729854529185366989712036001733318762997126123123', q: '2608337564729914652469799751470836213651053114725920592459649195438599753887761275097532519542364735603302920497721407739707510971057545202033522121527223119489639108707117116318597987412052758686475120594347691376161308992527588246814441931679394364366991219430690820694917607305199837869002308886348227121037929485974745286281601008442660352663449350220005066700081144442835427859181966156950398830968221233621630075647467951155443700541930085904224504822617593037949253601040078908445104864944806936572728490573327895882060208620185141427678966766275464513806500264316474478368314510787493849590908166017536994206253853495068899244653343583626604302347657820370445714187209256524539903277539192833300900925085391856824561138682129187092427698435789490950154182575431838274236036697736764740241998290956839238721456707255675681333819257109202407041462676556652110193721724973364927264592683494856018000866659381498563061561'}