{"id":24780367,"url":"https://github.com/jyun-neng/pyfhe","last_synced_at":"2025-08-23T18:04:56.662Z","repository":{"id":274447424,"uuid":"131133552","full_name":"Jyun-Neng/PyFHE","owner":"Jyun-Neng","description":"An implementation of BGV-FHE scheme","archived":false,"fork":false,"pushed_at":"2018-04-26T10:49:38.000Z","size":10,"stargazers_count":26,"open_issues_count":3,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-27T11:51:14.106Z","etag":null,"topics":["homomorphic-encryption","python-3-6"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Jyun-Neng.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-04-26T09:35:46.000Z","updated_at":"2024-12-13T00:13:18.000Z","dependencies_parsed_at":"2025-01-27T11:51:17.216Z","dependency_job_id":"310a3bdc-49e0-41c5-a867-f0ca35f8dd1a","html_url":"https://github.com/Jyun-Neng/PyFHE","commit_stats":null,"previous_names":["jyun-neng/pyfhe"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jyun-Neng%2FPyFHE","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jyun-Neng%2FPyFHE/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jyun-Neng%2FPyFHE/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jyun-Neng%2FPyFHE/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jyun-Neng","download_url":"https://codeload.github.com/Jyun-Neng/PyFHE/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236162081,"owners_count":19104959,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["homomorphic-encryption","python-3-6"],"created_at":"2025-01-29T10:22:03.291Z","updated_at":"2025-01-29T10:22:04.274Z","avatar_url":"https://github.com/Jyun-Neng.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## PyFHE\nPyFHE is an implementation of the [Brakerski-Gentry-Vaikuntanathan][1] (BGV) scheme, along with some optimizations described in the [Gentry-Halevi-Smart][2] optimizations. This project takes [HElib][3] as reference but is simpler than HElib. It only implements some basic homomorphic operations such as multiplication and addition and does not use ciphertext packing techniques.\n\nThis project is written in Python 3.6.5 and uses Python packages [sympy][4] and [numpy][5].\n\n## Demo\nRun `Test_Ctxt.py`, which executes a 4 levels 4096 degree polynomial BGV encryption.\n```\n  \u003e python Test_Ctxt.py\n```\n## TODO\nUse multiprocessing.\n\n  [1]: http://eprint.iacr.org/2011/277       \"BGV12\"\n  [2]: http://eprint.iacr.org/2012/099       \"GHS12\"\n  [3]: https://github.com/shaih/HElib        \"HELIB\" \n  [4]: http://www.sympy.org/en/index.html    \"SYMPY\"\n  [5]: http://www.numpy.org                  \"NUMPY\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjyun-neng%2Fpyfhe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjyun-neng%2Fpyfhe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjyun-neng%2Fpyfhe/lists"}