{"id":16712780,"url":"https://github.com/aead/poly","last_synced_at":"2026-05-19T18:03:23.386Z","repository":{"id":57605013,"uuid":"94586867","full_name":"aead/poly","owner":"aead","description":"Package poly implements message authenticators based on polynomials","archived":false,"fork":false,"pushed_at":"2017-07-25T00:17:30.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-21T20:48:27.557Z","etag":null,"topics":["cryptography","gcm","golang","poly1305"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aead.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}},"created_at":"2017-06-16T22:55:52.000Z","updated_at":"2017-06-17T00:34:36.000Z","dependencies_parsed_at":"2022-08-27T22:03:44.028Z","dependency_job_id":null,"html_url":"https://github.com/aead/poly","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/aead%2Fpoly","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aead%2Fpoly/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aead%2Fpoly/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aead%2Fpoly/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aead","download_url":"https://codeload.github.com/aead/poly/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243685658,"owners_count":20330996,"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","gcm","golang","poly1305"],"created_at":"2024-10-12T20:44:03.376Z","updated_at":"2025-12-29T18:40:08.651Z","avatar_url":"https://github.com/aead.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Polynomial authentication schemes\n\nA polynomial authenticator is basically a message authentication scheme. Therefore\nthe polynomial authenticator takes a secret key and a message of arbitrary size and\ncomputes a fixed size authentication tag.\n\nIt is critical for the security of the authenticator that the one key is never used for more than one message - so never reuse a key. Authenticating two different messages with the same key allows an attacker to forge messages at will.\n\nThis package provides a general interface for polynomial authenticators and natively supports two commonly used polynomials:\n - **GHASH** used by the AES-GCM AEAD construction\n - **Poly1305** used by the ChaCha20Poly1305 AEAD construction\n\nThose both polynomial authenticators are used in TLS.\n\n### Install\n\nInstall in your GOPATH: `go get github.com/aead/poly`\n\n### Performance\n\nFor GHASH benchmarks see: [GHASH implementation](https://github.com/aead/ghash)  \nFor Poly1305 benchmarks see: [Poly1305 implementation](https://github.com/aead/poly1305)  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faead%2Fpoly","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faead%2Fpoly","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faead%2Fpoly/lists"}