{"id":16712766,"url":"https://github.com/aead/chacha20poly1305","last_synced_at":"2025-08-08T02:20:26.556Z","repository":{"id":56143444,"uuid":"82589981","full_name":"aead/chacha20poly1305","owner":"aead","description":"ChaCha20Poly1305 and XChaCha20Poly1305 AEAD implementations","archived":false,"fork":false,"pushed_at":"2020-11-24T14:56:23.000Z","size":18,"stargazers_count":16,"open_issues_count":0,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-04T00:24:43.617Z","etag":null,"topics":["chacha20-poly1305","cryptography","golang"],"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-02-20T18:38:18.000Z","updated_at":"2025-01-17T16:21:40.000Z","dependencies_parsed_at":"2022-08-15T13:31:06.176Z","dependency_job_id":null,"html_url":"https://github.com/aead/chacha20poly1305","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aead/chacha20poly1305","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aead%2Fchacha20poly1305","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aead%2Fchacha20poly1305/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aead%2Fchacha20poly1305/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aead%2Fchacha20poly1305/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aead","download_url":"https://codeload.github.com/aead/chacha20poly1305/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aead%2Fchacha20poly1305/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269352123,"owners_count":24402731,"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","status":"online","status_checked_at":"2025-08-08T02:00:09.200Z","response_time":72,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["chacha20-poly1305","cryptography","golang"],"created_at":"2024-10-12T20:44:01.114Z","updated_at":"2025-08-08T02:20:26.529Z","avatar_url":"https://github.com/aead.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Chacha20Poly1305\n\nThis repository implements the ChaCha20Poly1305 AEAD construction. ChaCha20Pol1305 is combination\nof the [ChaCha20 stream cipher](https://github.com/aead/chacha20) and the [Poly1305 authenticator](https://github.com/aead/poly1305) and is standardized in [RFC 7539](https://tools.ietf.org/html/rfc7539).\n\nThis repository also implements 8 and 24 byte variants additional to the IETF 12 byte version of ChaCha20Poly1305. Further this package provides a streaming API to wrap an [io.Writer](https://golang.org/pkg/io/#Writer) with an en/decrypting [io.WriteCloser](https://golang.org/pkg/io/#WriteCloser). \n\n### Recommendations\n\nIt is recommended to use the [official Chacha20Poly1305 implementation](https://godoc.org/golang.org/x/crypto/chacha20poly1305) if possible.  \nThis repository just provides additional functionality like 8 and 24 byte variants and a streaming API.\n\n### Install\n\nInstall in your GOPATH: `go get -u github.com/aead/chacha20poly1305`  \nPlease notice, that the amd64 AVX2 asm implementation requires go1.7 or newer.\n\n### Performance\n\n**AMD64**  \nHardware: Intel i7-6500U 2.50GHz x 2  \nSystem: Linux Ubuntu 16.04 - kernel: 4.8.0-54-generic  \nGo version: 1.8.1\n```\nAVX2\n\nname                       speed                cpb\nChacha20Poly1305Open_64-4   131MB/s ± 0%        18.20\nChacha20Poly1305Seal_64-4   134MB/s ± 0%        17.79\nChacha20Poly1305Open_1K-4   830MB/s ± 0%         2.87\nChacha20Poly1305Seal_1K-4   839MB/s ± 0%         2.84\nChacha20Poly1305Open_8K-4  1.15GB/s ± 0%         2.03\nChacha20Poly1305Seal_8K-4  1.15GB/s ± 0%         2.03\nEncryptedWriter64-4         392MB/s ± 0%         6.08\nDecryptedWriter64-4         255MB/s ± 0%         9.35\nEncryptedWriter1K-4        1.97GB/s ± 1%         1.18\nDecryptedWriter1K-4        1.70GB/s ± 0%         1.37\nEncryptedWriter8K-4        2.23GB/s ± 0%         1.04\nDecryptedWriter8K-4        2.17GB/s ± 1%         1.07\n\n\nSSSE3\n\nname                       speed                cpb\nChacha20Poly1305Open_64-4   133MB/s ± 1%        17.93\nChacha20Poly1305Seal_64-4   137MB/s ± 0%        17.40\nChacha20Poly1305Open_1K-4   626MB/s ± 0%         3.80\nChacha20Poly1305Seal_1K-4   629MB/s ± 0%         3.79\nChacha20Poly1305Open_8K-4   788MB/s ± 0%         3.03\nChacha20Poly1305Seal_8K-4   790MB/s ± 0%         3.02\nEncryptedWriter64-4         397MB/s ± 0%         6.01\nDecryptedWriter64-4         263MB/s ± 1%         9.07\nEncryptedWriter1K-4        1.10GB/s ± 1%         2.12\nDecryptedWriter1K-4        1.01GB/s ± 1%         2.31 \nEncryptedWriter8K-4        1.18GB/s ± 0%         1.97\nDecryptedWriter8K-4        1.16GB/s ± 0%         2.01\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faead%2Fchacha20poly1305","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faead%2Fchacha20poly1305","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faead%2Fchacha20poly1305/lists"}