{"id":28163432,"url":"https://github.com/primefactor-io/paillier","last_synced_at":"2025-10-26T10:32:19.956Z","repository":{"id":293412777,"uuid":"981552336","full_name":"primefactor-io/paillier","owner":"primefactor-io","description":"Implementation of the Paillier cryptosystem alongside its homomorphic operations","archived":false,"fork":false,"pushed_at":"2025-05-11T11:22:59.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-15T08:21:22.158Z","etag":null,"topics":["cryptography","cryptography-algorithms","homomorphic-cryptography-scheme","homomorphic-encryption","homomorphic-encryption-library","paillier","paillier-cryptosystem"],"latest_commit_sha":null,"homepage":"https://primefactor.io","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/primefactor-io.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2025-05-11T11:22:39.000Z","updated_at":"2025-05-11T11:23:52.000Z","dependencies_parsed_at":"2025-05-15T08:21:28.881Z","dependency_job_id":"6e353024-5b05-412c-909f-7369f1ab1462","html_url":"https://github.com/primefactor-io/paillier","commit_stats":null,"previous_names":["primefactor-io/paillier"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primefactor-io%2Fpaillier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primefactor-io%2Fpaillier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primefactor-io%2Fpaillier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primefactor-io%2Fpaillier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/primefactor-io","download_url":"https://codeload.github.com/primefactor-io/paillier/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254323256,"owners_count":22051747,"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","cryptography-algorithms","homomorphic-cryptography-scheme","homomorphic-encryption","homomorphic-encryption-library","paillier","paillier-cryptosystem"],"created_at":"2025-05-15T10:33:11.534Z","updated_at":"2025-10-26T10:32:14.928Z","avatar_url":"https://github.com/primefactor-io.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Paillier\n\nImplementation of the [Paillier Cryptosystem](https://en.wikipedia.org/wiki/Paillier_cryptosystem).\n\nAlongside regular encryption and decryption, the implementation also supports homomorphic operations such as the addition of two underlying plaintexts as well as the multiplication of an underlying plaintext with a second plaintext value.\n\nThere are also two proof implementations. One allows for proving knowledge of an Nth Root while the second proof can be used to prove that an encrypted value falls into a certain range (range proof).\n\n## Setup\n\n1. `git clone \u003curl\u003e`\n2. `asdf install` (optional)\n3. `go test -count 1 -race ./...`\n\n## Useful Commands\n\n```sh\ngo run \u003cpackage-path\u003e\ngo build [\u003cpackage-path\u003e]\n\ngo test [\u003cpackage-path\u003e][/...] [-v] [-cover] [-race] [-short] [-parallel \u003cnumber\u003e]\ngo test -bench=. [\u003cpackage-path\u003e] [-count \u003cnumber\u003e] [-benchmem] [-benchtime 2s] [-memprofile \u003cname\u003e]\n\ngo test -coverprofile \u003cname\u003e [\u003cpackage-path\u003e]\ngo tool cover -html \u003cname\u003e\ngo tool cover -func \u003cname\u003e\n\ngo fmt [\u003cpackage-path\u003e]\n\ngo mod init [\u003cmodule-path\u003e]\ngo mod tidy\n```\n\n## Useful Resources\n\n- [Go - Learn](https://go.dev/learn)\n- [Go - Documentation](https://go.dev/doc)\n- [Go - A Tour of Go](https://go.dev/tour)\n- [Go - Effective Go](https://go.dev/doc/effective_go)\n- [Go - Playground](https://go.dev/play)\n- [Go by Example](https://gobyexample.com)\n- [100 Go Mistakes and How to Avoid Them](https://100go.co)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprimefactor-io%2Fpaillier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprimefactor-io%2Fpaillier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprimefactor-io%2Fpaillier/lists"}