{"id":28163431,"url":"https://github.com/primefactor-io/lhtlp","last_synced_at":"2025-05-15T10:34:44.600Z","repository":{"id":293400295,"uuid":"981561703","full_name":"primefactor-io/lhtlp","owner":"primefactor-io","description":"Implementation of the Linearly-Homomorphic Time-Lock Puzzle scheme","archived":false,"fork":false,"pushed_at":"2025-05-15T05:46:27.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-15T06:34:51.736Z","etag":null,"topics":["cryptography","cryptography-algorithms","homomorphic-cryptography-scheme","homomorphic-encryption","homomorphic-encryption-library","time-lock","time-lock-puzzle"],"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:48:26.000Z","updated_at":"2025-05-15T05:46:31.000Z","dependencies_parsed_at":"2025-05-15T06:46:44.295Z","dependency_job_id":null,"html_url":"https://github.com/primefactor-io/lhtlp","commit_stats":null,"previous_names":["primefactor-io/lhtlp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primefactor-io%2Flhtlp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primefactor-io%2Flhtlp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primefactor-io%2Flhtlp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primefactor-io%2Flhtlp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/primefactor-io","download_url":"https://codeload.github.com/primefactor-io/lhtlp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254323257,"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","time-lock","time-lock-puzzle"],"created_at":"2025-05-15T10:33:11.475Z","updated_at":"2025-05-15T10:34:44.551Z","avatar_url":"https://github.com/primefactor-io.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Linearly Homomorphic Time-Lock Puzzles\n\nImplementation of the Linearly-Homomorphic Time-Lock Puzzle algorithm as described in section 4.1 \"Linearly Homomorphic\" of the paper [Homomorphic Time-Lock Puzzles and Applications](https://eprint.iacr.org/2019/635.pdf) by Malavolta et al.\n\nThis implementation also features the extension mentioned in section 5.1 \"Semi-Compact Scheme for Branching Programs\" which allows for larger message spaces.\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%2Flhtlp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprimefactor-io%2Flhtlp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprimefactor-io%2Flhtlp/lists"}