{"id":28163433,"url":"https://github.com/primefactor-io/ecc","last_synced_at":"2025-05-15T10:34:44.696Z","repository":{"id":293412779,"uuid":"981571168","full_name":"primefactor-io/ecc","owner":"primefactor-io","description":"Implementations of various Elliptic Curve Cryptography primitives such as ECDSA and Adaptor ECDSA over secp256k1","archived":false,"fork":false,"pushed_at":"2025-05-11T12:14:36.000Z","size":34,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-15T08:21:22.208Z","etag":null,"topics":["adaptor-signature","adaptor-signatures","cryptography","cryptography-algorithms","ecdsa","ecdsa-cryptography","ecdsa-signature","ecdsa-signatures","elliptic-curve","elliptic-curve-cryptography","elliptic-curves","schnorr","schnorr-signature","schnorr-signatures"],"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-11T12:14:24.000Z","updated_at":"2025-05-12T05:53:05.000Z","dependencies_parsed_at":"2025-05-15T08:21:28.579Z","dependency_job_id":"e3b10762-cf60-4190-b0d4-ed53c7b8470a","html_url":"https://github.com/primefactor-io/ecc","commit_stats":null,"previous_names":["primefactor-io/ecc"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primefactor-io%2Fecc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primefactor-io%2Fecc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primefactor-io%2Fecc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primefactor-io%2Fecc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/primefactor-io","download_url":"https://codeload.github.com/primefactor-io/ecc/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":["adaptor-signature","adaptor-signatures","cryptography","cryptography-algorithms","ecdsa","ecdsa-cryptography","ecdsa-signature","ecdsa-signatures","elliptic-curve","elliptic-curve-cryptography","elliptic-curves","schnorr","schnorr-signature","schnorr-signatures"],"created_at":"2025-05-15T10:33:12.266Z","updated_at":"2025-05-15T10:34:44.664Z","avatar_url":"https://github.com/primefactor-io.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Elliptic Curve Cryptography\n\nImplementations of various Elliptic Curve Cryptography primitives.\n\nThe [Elliptic Curve Digital Signature Algorithm](https://muens.io/elliptic-curve-digital-signature-algorithm/) (ECDSA) as well as its [Adaptor Signature](https://muens.io/ecdsa-adaptor-signature/) variant are implemented over the curve secp256k1. In addition to the typical `r` and `s` values, generated ECDSA signatures also include a recovery bit `v` that allows for public key recovery.\n\nA [Schnorr Signature](https://muens.io/schnorr-signature/) implementation is available which also features an [Adaptor Signature](https://muens.io/schnorr-adaptor-signature/) variant. Both implementations are using the secp256k1 curve.\n\nTwo proof implementations allow for proving knowledge of a discrete logarithm, as well as the equality of two discrete logarithms.\n\nUsing the provided abstractions, different curves can be easily integrated and existing algorithms reused.\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%2Fecc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprimefactor-io%2Fecc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprimefactor-io%2Fecc/lists"}