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