{"id":37136972,"url":"https://github.com/ansemjo/ascon","last_synced_at":"2026-01-14T15:57:56.446Z","repository":{"id":57552194,"uuid":"172222153","full_name":"ansemjo/ascon","owner":"ansemjo","description":"Go binding for Ascon-128 from the CAESAR portfolio.","archived":true,"fork":false,"pushed_at":"2019-02-23T14:15:13.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-20T00:35:11.912Z","etag":null,"topics":["aead","ascon","caesar-portfolio"],"latest_commit_sha":null,"homepage":null,"language":"C","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/ansemjo.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":"2019-02-23T14:14:31.000Z","updated_at":"2023-01-28T06:54:38.000Z","dependencies_parsed_at":"2022-09-13T08:32:02.803Z","dependency_job_id":null,"html_url":"https://github.com/ansemjo/ascon","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ansemjo/ascon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansemjo%2Fascon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansemjo%2Fascon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansemjo%2Fascon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansemjo%2Fascon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ansemjo","download_url":"https://codeload.github.com/ansemjo/ascon/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansemjo%2Fascon/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28425589,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T15:24:48.085Z","status":"ssl_error","status_checked_at":"2026-01-14T15:23:41.940Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["aead","ascon","caesar-portfolio"],"created_at":"2026-01-14T15:57:55.723Z","updated_at":"2026-01-14T15:57:56.432Z","avatar_url":"https://github.com/ansemjo.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ansemjo/ascon\n\nThis is a Go binding for the [Ascon-128 cipher](https://ascon.iaik.tugraz.at/specification.html),\nwhich is the preferred cipher for use in lightweight applications from the\n[CAESAR portfolio](https://competitions.cr.yp.to/caesar-submissions.html).\n\nIt implements the `cipher.AEAD` interface:\n\n```go\npackage main\n\nimport (\n  // \"...\"\n  \"github.com/ansemjo/ascon\"\n)\n\nfunc main() {\n\n  // [...]\n\n  // initialize with 16 byte key\n  aead, err := ascon.New(key)\n  if err != nil {\n    panic(\"failed aead init\")\n  }\n\n  // seal plaintext\n  ct := aead.Seal(nil, nonce, plaintext, associated)\n\n  // open ciphertext\n  pt, err := a.Open(nil, nonce, ct, associated)\n  if err != nil {\n    panic(err.Error())\n  }\n\n  // [...]\n\n}\n```\n\nCurrently binds to the optimized 64 bit implementation of `ascon128v12` from\n[ascon/crypto_aead](https://github.com/ascon/crypto_aead).\n\n## DISCLAIMER\n\nI am not a professional cryptographer. This is simply a binding to toy around with an interesting\nnew cipher and should be tested and audited thoroughly before use. Especially because I am using\nlots of `unsafe.Pointer()`'s here.\n\n    THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n    SOFTWARE.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fansemjo%2Fascon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fansemjo%2Fascon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fansemjo%2Fascon/lists"}