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: '570156493947202519718893210799086495017262908436722654792494419607110434770062019695799014391831383411838528520685986095445472473006092203298814495257475788827716631205086639131560327742665738024133339550288198220664190907684212605782970287191473489366766428470690819708285525615767645596044079527739825596002307947257363267001275710160565171432456948390339763509372324372242402110753587076853160948957744169838358449267221355129823841062254732429082306381296479006489710829472113956416109665867283976612883753826678418506617870713536286475986618327492933747298727218411665870511204259389973636711612798675574218726418126348437100147170207368502115488927436767728262991917329027770067570410547081153761456580695296761589391429212652806124133229323975169935542677685422631367659471202649228045559056869234667430756447916890897772347988303447379385624321136674678907717050798122085276849997768062311099071352339753945581454163916924388113386626835557661020485939978968873498000975929142465278468350763352297564521537308478908671318163143804891387893671746163186100497541843127862897675637885753060571440320971999461235555140346834395006214047349746340464706576991314661534380370331762417226959105368754468719995214367696218178131684947', q: '285078246973601259859446605399543247508631454218361327396247209803555217385031009847899507195915691705919264260342993047722736236503046101649407247628737894413858315602543319565780163871332869012066669775144099110332095453842106302891485143595736744683383214235345409854142762807883822798022039763869912798001153973628681633500637855080282585716228474195169881754686162186121201055376793538426580474478872084919179224633610677564911920531127366214541153190648239503244855414736056978208054832933641988306441876913339209253308935356768143237993309163746466873649363609205832935255602129694986818355806399337787109363209063174218550073585103684251057744463718383864131495958664513885033785205273540576880728290347648380794695714606326403062066614661987584967771338842711315683829735601324614022779528434617333715378223958445448886173994151723689692812160568337339453858525399061042638424998884031155549535676169876972790727081958462194056693313417778830510242969989484436749000487964571232639234175381676148782260768654239454335659081571902445693946835873081593050248770921563931448837818942876530285720160485999730617777570173417197503107023674873170232353288495657330767190185165881208613479552684377234359997607183848109089065842473'}