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: '533772829564824718250864891071185002555987815221936878855806703207420255203403976123692000887737546861595346972565481716624733283723493067813496236697402022887781450250801077871801664222322543505484739675134759761385563858711131589334880898585977303943415964487325636792845539625302936868727408444551148903318910697189887827510965987674699289710224561654744243618168801018097540071719482876501516141527656314148834236499930112448482844211614885172730460859400442297067213053118358415684961814402634897650336963706708835287583874112568737567422231809898320999468487219814371313875105256117168425442777213605400735836069920941479256120062970280639108850658343111661660057327564633255688840106782112995237908980386294904975357913098435989504599558338329616141895192877833811544975034484209680763443596436745319394259343200326011674248401710126906264741865428467470326449408713949073131053262842126356481728851499548465431655840246307662899023916889645533588429779498015877172883425432747818603723893961014428488163973616846828701466298214790289382150486166706231063089141466204310086774939024037067234746100999849462106863848932768221404642479276637651485641587126081467035914854679179493894842417085371440701611342592774670237563388383', q: '266886414782412359125432445535592501277993907610968439427903351603710127601701988061846000443868773430797673486282740858312366641861746533906748118348701011443890725125400538935900832111161271752742369837567379880692781929355565794667440449292988651971707982243662818396422769812651468434363704222275574451659455348594943913755482993837349644855112280827372121809084400509048770035859741438250758070763828157074417118249965056224241422105807442586365230429700221148533606526559179207842480907201317448825168481853354417643791937056284368783711115904949160499734243609907185656937552628058584212721388606802700367918034960470739628060031485140319554425329171555830830028663782316627844420053391056497618954490193147452487678956549217994752299779169164808070947596438916905772487517242104840381721798218372659697129671600163005837124200855063453132370932714233735163224704356974536565526631421063178240864425749774232715827920123153831449511958444822766794214889749007938586441712716373909301861946980507214244081986808423414350733149107395144691075243083353115531544570733102155043387469512018533617373050499924731053431924466384110702321239638318825742820793563040733517957427339589746947421208542685720350805671296387335118781694191'}