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 2.5 kB
module.exports = { p: '964811431532137118552929452315660739214976601228820540456895242266892031781999716675150089378545383582014943683759408987108423444334065308825856074898554383326810461112265824566411838394686252738570676392011214781171273955571363973415007642208887737808700538930463864440065779378396466034713572129054186623900273183541905698263778044575658987261207747254664399589034924340211184677891797541000609779277051353407346336201557363021928790870096790900592169136585974089566131913793583972221377709680040231111815713305767225185795102980901264501828842557040023768398055108265397521357944196415188292969625191998398605028326066652848604263005087468531340210127194374135788347316719597114009151393077595730020329049701913654154286726135325126719479605449486438165759435010539015488861091082262860706219432021278152713873254865791121917818312949315228847067192048675528220607271936866341254368218807523473989224603935872093261418724088051109469700978691639255583920673158918765314199201223700276053550193210359198449832958348793007456361387644262463113514605364282621428671714545726109831033711337052083605571980427872005465949141476826847720946006066171749380484872668558217459858371269291004115042788649643113597517898761954455610950124427', q: '482405715766068559276464726157830369607488300614410270228447621133446015890999858337575044689272691791007471841879704493554211722167032654412928037449277191663405230556132912283205919197343126369285338196005607390585636977785681986707503821104443868904350269465231932220032889689198233017356786064527093311950136591770952849131889022287829493630603873627332199794517462170105592338945898770500304889638525676703673168100778681510964395435048395450296084568292987044783065956896791986110688854840020115555907856652883612592897551490450632250914421278520011884199027554132698760678972098207594146484812595999199302514163033326424302131502543734265670105063597187067894173658359798557004575696538797865010164524850956827077143363067662563359739802724743219082879717505269507744430545541131430353109716010639076356936627432895560958909156474657614423533596024337764110303635968433170627184109403761736994612301967936046630709362044025554734850489345819627791960336579459382657099600611850138026775096605179599224916479174396503728180693822131231556757302682141310714335857272863054915516855668526041802785990213936002732974570738413423860473003033085874690242436334279108729929185634645502057521394324821556798758949380977227805475062213'}