{"id":34178867,"url":"https://github.com/elfincafe/anngo","last_synced_at":"2026-03-12T13:44:13.296Z","repository":{"id":228801969,"uuid":"774949385","full_name":"elfincafe/anngo","owner":"elfincafe","description":"Ann*Go is the cryptography tool written in Go language.","archived":false,"fork":false,"pushed_at":"2025-04-22T15:34:08.000Z","size":110,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-18T10:59:22.488Z","etag":null,"topics":["cryptography","go"],"latest_commit_sha":null,"homepage":"","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/elfincafe.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":"2024-03-20T13:49:47.000Z","updated_at":"2025-04-22T15:32:41.000Z","dependencies_parsed_at":"2025-01-10T16:24:23.189Z","dependency_job_id":"a9b910a9-b246-41e4-93b7-3e0e02d3adba","html_url":"https://github.com/elfincafe/anngo","commit_stats":null,"previous_names":["elfincafe/anngo"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/elfincafe/anngo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elfincafe%2Fanngo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elfincafe%2Fanngo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elfincafe%2Fanngo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elfincafe%2Fanngo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elfincafe","download_url":"https://codeload.github.com/elfincafe/anngo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elfincafe%2Fanngo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30427347,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-12T12:46:33.731Z","status":"ssl_error","status_checked_at":"2026-03-12T12:42:20.405Z","response_time":114,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["cryptography","go"],"created_at":"2025-12-15T13:03:55.305Z","updated_at":"2026-03-12T13:44:13.289Z","avatar_url":"https://github.com/elfincafe.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ann*Go\n\n## Overview\nAnn*Go is an encryption and decryption utility.  \nGo has the crypto modules and this is an easy-to-use version of those modules.\n\n## Install\n    # go get github.com/elfincafe/anngo\n\n## Mode\n|No|Mode|Function|\n|-|-|-|\n|1|CBC|NewAesCbc(key, iv []byte)|\n|2|CFB|NewAesCfb(key, iv []byte)|\n|3|OFB|NewAesOfb(key, iv []byte)|\n|4|CTR|NewAesCtr(key, iv []byte)|\n\n## Padding\n|No|Padding|Function|Note|\n|-|-|-|-|\n|1|PKCS7|NewPkcs7()|This is a default padding.|\n|2|ANSI X9.23|NewAnsiX923()|ANSI X9.23 padding.|\n|3|ISO 10126|NewIso10126()|ISO 10126 padding.|\n|4|Zero|NewZero()|Padding with 0x00. Not Recommended. There is no guarantee that it will return to normal.|\n\n## Usage\n```go\nimport (\n    \"elfincafe/anngo\"\n    \"fmt\"\n    \"os\"\n)\n\nfunc main() {\n    iv := anngo.Generate(16) // Initial Vector\n    key := anngo.Resize([]byte(\"Ann*Go/Example/Key\"), 16)\n    aes, err := NewAesCbc(key, iv)\n    if err != nil {\n        fmt.Fprintf(os.Stderr, \"Error: %s\", err)\n        os.Exit(1)\n    }\n    aes.Padding(NewAnsiX923())\n\n    // Encrypt\n    cipherText, err := aes.Encrypt([]byte(\"plain_text\"))\n    if err != nil {\n        fmt.Fprintf(os.Stderr, \"Error: %s\", err)\n        os.Exit(1)\n    }\n    fmt.Println(cipherText)\n\n    // Decrypt\n    plainText, err := aes.Decrypt(cipherText)\n    if err != nil {\n        fmt.Fprintf(os.Stderr, \"Error: %s\", err)\n        os.Exit(1)\n    }\n    fmt.Println(plainText)\n}\n```\n\n## License\nAnn*Go is distributed under The MIT License.  \nhttps://opensource.org/license/mit\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felfincafe%2Fanngo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felfincafe%2Fanngo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felfincafe%2Fanngo/lists"}