{"id":17447831,"url":"https://github.com/pmuens/pyfv12","last_synced_at":"2025-04-24T03:13:23.706Z","repository":{"id":58131896,"uuid":"269357823","full_name":"pmuens/pyfv12","owner":"pmuens","description":"Python implementation of \"Somewhat Practical Fully Homomorphic Encryption\" ","archived":false,"fork":false,"pushed_at":"2020-06-04T12:50:28.000Z","size":9,"stargazers_count":23,"open_issues_count":2,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-24T03:13:13.923Z","etag":null,"topics":["cryptography","homomorphic-encryption","lattice-based-crypto","learning-with-errors","lwe","ring-learning-with-errors","rlwe"],"latest_commit_sha":null,"homepage":"","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/pmuens.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}},"created_at":"2020-06-04T12:47:51.000Z","updated_at":"2025-03-30T07:54:03.000Z","dependencies_parsed_at":"2022-09-19T16:52:53.765Z","dependency_job_id":null,"html_url":"https://github.com/pmuens/pyfv12","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmuens%2Fpyfv12","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmuens%2Fpyfv12/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmuens%2Fpyfv12/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmuens%2Fpyfv12/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pmuens","download_url":"https://codeload.github.com/pmuens/pyfv12/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250552075,"owners_count":21449165,"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":["cryptography","homomorphic-encryption","lattice-based-crypto","learning-with-errors","lwe","ring-learning-with-errors","rlwe"],"created_at":"2024-10-17T19:53:12.827Z","updated_at":"2025-04-24T03:13:23.680Z","avatar_url":"https://github.com/pmuens.png","language":"Python","readme":"# Py[FV12](https://eprint.iacr.org/2012/144.pdf)\n\nPython implementation of Fan and Vercauterens [\"Somewhat Practical Fully Homomorphic Encryption\"](https://eprint.iacr.org/2012/144.pdf).\n\nThis implementation closely follows the paper. Theorems, Lemmas and Proofs were translated into tests. I avoided bit-shifting and other advanced techniques to keep the code as clean and comprehensible as possible.\n\n**NOTE:** This implementation is for educational purposes only. \n\n## Usage\n\n1. `pipenv install`\n1. `pipenv shell`\n1. `python main.py`\n1. `python main.py tests`\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpmuens%2Fpyfv12","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpmuens%2Fpyfv12","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpmuens%2Fpyfv12/lists"}