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 4.96 kB
module.exports = { p: '691789092504852484148443225325136811850097100650796485811743788558621309627143622100163726136298626311328417135322229584296583370178890177233545307606922771873238947295558866685959170841950527707109272770997918581781989422006266802591703668579589381958230117667177660684775031031222282951765945153294102194993243296969712841589255872332456155836500133296953353209840724300935610027815098806361941251541682226561608058124707743438977486295508318624458733973702577421588747096655305844214989450466247736015469003704011798774520450558127443866008302639531487448391967698694181136002932292134529409890794421947656725076003419308061936193818123743201056935338838734377660952160761294585978368507369035995754896342278149564889782337797073759555903064320833439211531436788492680837862432350478081237121664733976613369837050257071220455513013171745167227081495491943846517846469447224879791125641473668238796730688407499542828414091197376619871611010705551824239267720539414779181474649674968962206422484723511116862003686882952985421169186981366324484333985738697218659269773976324367291023126347089333343941177642217867602125055861891627520141456287486202446966557893626846794753716013400654697139836173548631420920277038989061508546933001580185319031848855593931001537800245491045938507857055404350254916893777150111821061438313870407606300752074848223277810800884207303761767843610785346326498294589280738394207584326220675959550813265369621365915743644946835875767358410203967394681641170623200629370118948077479640537416219305701924789722359904269569780095680488786488583085065299039169061587414436798319637568976525968566610007395476260677292459093818333810988160237746644543209927523632175662713812000901080814517755003040614766296349668073429580774366897037506550252804696305269244132386592508724857361794323776290018653828505627829962037418191333852323909378455642823713389843589153762644677350306647985350009568734763236923780223544283338437109064056857644680208888101442347619003818598137939127287757419524293075635453185012627145004308147826176968093297407475942385541557736671449641884730345381875510606148493158533577509112446356051598185600940637843050990203108277236503074982749173518800630349035587890559732557852934942883454756886202511972330244769500715665287734512614433831317586163721515651451229902839215645538623151933360091214455037272966644804125268735085409117361715247005244524727691090852556721649325999598897768075309325380281419199530515625387', q: '345894546252426242074221612662568405925048550325398242905871894279310654813571811050081863068149313155664208567661114792148291685089445088616772653803461385936619473647779433342979585420975263853554636385498959290890994711003133401295851834289794690979115058833588830342387515515611141475882972576647051097496621648484856420794627936166228077918250066648476676604920362150467805013907549403180970625770841113280804029062353871719488743147754159312229366986851288710794373548327652922107494725233123868007734501852005899387260225279063721933004151319765743724195983849347090568001466146067264704945397210973828362538001709654030968096909061871600528467669419367188830476080380647292989184253684517997877448171139074782444891168898536879777951532160416719605765718394246340418931216175239040618560832366988306684918525128535610227756506585872583613540747745971923258923234723612439895562820736834119398365344203749771414207045598688309935805505352775912119633860269707389590737324837484481103211242361755558431001843441476492710584593490683162242166992869348609329634886988162183645511563173544666671970588821108933801062527930945813760070728143743101223483278946813423397376858006700327348569918086774315710460138519494530754273466500790092659515924427796965500768900122745522969253928527702175127458446888575055910530719156935203803150376037424111638905400442103651880883921805392673163249147294640369197103792163110337979775406632684810682957871822473417937883679205101983697340820585311600314685059474038739820268708109652850962394861179952134784890047840244393244291542532649519584530793707218399159818784488262984283305003697738130338646229546909166905494080118873322271604963761816087831356906000450540407258877501520307383148174834036714790387183448518753275126402348152634622066193296254362428680897161888145009326914252813914981018709095666926161954689227821411856694921794576881322338675153323992675004784367381618461890111772141669218554532028428822340104444050721173809501909299068969563643878709762146537817726592506313572502154073913088484046648703737971192770778868335724820942365172690937755303074246579266788754556223178025799092800470318921525495101554138618251537491374586759400315174517793945279866278926467471441727378443101255986165122384750357832643867256307216915658793081860757825725614951419607822769311575966680045607227518636483322402062634367542704558680857623502622262363845545426278360824662999799448884037654662690140709599765257812693'}