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
JavaScript
module.exports = { p: '875251700867896658366519005312989035440897077639644830103164498967336822910502066431846741498569497192677643631926444005394097493332499135239713860513896323911137002877033333374597916078413435064331989446289527777618379742108808169258552724306411240875476849559505763258500433536866697968258640967486655626718115075925226362246880599936756942584143188463244106915100359751100071021931259299010675903825616704533778223140070947369180946280463185481809519219283315451497101303095046148861144298276671156960144302584130347405643135528518680037390340499930804921856414762999807078882702152422726508380858664547063004607905075844299639692887269752644863497382190474077401996367850612895335028006509529981971638890754400589810469283955292944112580114465815000109329915820928714595554624429066834400273545127252627710629013128748468783783638738074098529662326165477962017487635830038822225505763580684137036692370036989823292087905577082178454078035748447780484899908471320755732503783215632373184882061139104198317204589106189935076624356409548429167210490813326479922711193425654275466753037611734765702144538592647287611146813269690186564058176564275322622762592152966647569372760304138350773774817866961087726213317028309064107792542479', q: '437625850433948329183259502656494517720448538819822415051582249483668411455251033215923370749284748596338821815963222002697048746666249567619856930256948161955568501438516666687298958039206717532165994723144763888809189871054404084629276362153205620437738424779752881629250216768433348984129320483743327813359057537962613181123440299968378471292071594231622053457550179875550035510965629649505337951912808352266889111570035473684590473140231592740904759609641657725748550651547523074430572149138335578480072151292065173702821567764259340018695170249965402460928207381499903539441351076211363254190429332273531502303952537922149819846443634876322431748691095237038700998183925306447667514003254764990985819445377200294905234641977646472056290057232907500054664957910464357297777312214533417200136772563626313855314506564374234391891819369037049264831163082738981008743817915019411112752881790342068518346185018494911646043952788541089227039017874223890242449954235660377866251891607816186592441030569552099158602294553094967538312178204774214583605245406663239961355596712827137733376518805867382851072269296323643805573406634845093282029088282137661311381296076483323784686380152069175386887408933480543863106658514154532053896271239'}