{"action":"created","issue":{"url":"https://api.github.com/repos/shaih/HElib/issues/122","repository_url":"https://api.github.com/repos/shaih/HElib","labels_url":"https://api.github.com/repos/shaih/HElib/issues/122/labels{/name}","comments_url":"https://api.github.com/repos/shaih/HElib/issues/122/comments","events_url":"https://api.github.com/repos/shaih/HElib/issues/122/events","html_url":"https://github.com/shaih/HElib/issues/122","id":193339759,"number":122,"title":"About nSlots and m","user":{"login":"alinan8868","id":11748568,"avatar_url":"https://avatars.githubusercontent.com/u/11748568?v=3","gravatar_id":"","url":"https://api.github.com/users/alinan8868","html_url":"https://github.com/alinan8868","followers_url":"https://api.github.com/users/alinan8868/followers","following_url":"https://api.github.com/users/alinan8868/following{/other_user}","gists_url":"https://api.github.com/users/alinan8868/gists{/gist_id}","starred_url":"https://api.github.com/users/alinan8868/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alinan8868/subscriptions","organizations_url":"https://api.github.com/users/alinan8868/orgs","repos_url":"https://api.github.com/users/alinan8868/repos","events_url":"https://api.github.com/users/alinan8868/events{/privacy}","received_events_url":"https://api.github.com/users/alinan8868/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-12-04T08:47:15Z","updated_at":"2016-12-26T08:08:20Z","closed_at":null,"body":"Hello,everyone.\r\nI know #nslots = phi(m) / order(p, m), here phi() is the Euler's function, and order(p,m) is the multiplicative order of p given m.\r\nBut I found that the same nslots can correspond to a lot of m.\r\nFor example，when nslots=8,m can be 4145,4255,1157... \r\nIf I want to compare the encryption time when nslots=8 and nslots=16 on the same string，how should I set the m to make it right .\r\nand is it security when m= 4145,4255,1157... ？\r\nThanks :)"},"comment":{"url":"https://api.github.com/repos/shaih/HElib/issues/comments/269180914","html_url":"https://github.com/shaih/HElib/issues/122#issuecomment-269180914","issue_url":"https://api.github.com/repos/shaih/HElib/issues/122","id":269180914,"user":{"login":"fionser","id":1809457,"avatar_url":"https://avatars.githubusercontent.com/u/1809457?v=3","gravatar_id":"","url":"https://api.github.com/users/fionser","html_url":"https://github.com/fionser","followers_url":"https://api.github.com/users/fionser/followers","following_url":"https://api.github.com/users/fionser/following{/other_user}","gists_url":"https://api.github.com/users/fionser/gists{/gist_id}","starred_url":"https://api.github.com/users/fionser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fionser/subscriptions","organizations_url":"https://api.github.com/users/fionser/orgs","repos_url":"https://api.github.com/users/fionser/repos","events_url":"https://api.github.com/users/fionser/events{/privacy}","received_events_url":"https://api.github.com/users/fionser/received_events","type":"User","site_admin":false},"created_at":"2016-12-26T08:08:20Z","updated_at":"2016-12-26T08:08:20Z","body":"@qichexiaozi `nslot` = `phi(m) / order(m, p)` and has nothing with other parameters.\r\nSo, basically, we first set `k`, and `L` and let `d, c, w` be the default values, and then set a larger enough `p` which satisfies your application domain, then find a proper `m` , e.g, through `FindM` function. At this point, we have decided all the parameters, while the `nslot` might be not large enough. We can either 1) change `m` or 2) change `p` until we find a `(m, p)` pairs that satisfies all \r\nthings."}}
{"actor":{"display_login":"fionser"}}