{"id":20459757,"url":"https://github.com/rosbit/go-aes","last_synced_at":"2025-03-05T11:17:07.959Z","repository":{"id":57485935,"uuid":"184224472","full_name":"rosbit/go-aes","owner":"rosbit","description":"encrypt/decrypt message with AES","archived":false,"fork":false,"pushed_at":"2023-06-22T01:53:27.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-01-16T00:24:45.853Z","etag":null,"topics":[],"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/rosbit.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}},"created_at":"2019-04-30T08:37:17.000Z","updated_at":"2023-02-16T02:25:43.000Z","dependencies_parsed_at":"2025-01-15T23:53:38.960Z","dependency_job_id":"2f07c94b-3f24-4b49-81f9-c8c64d346238","html_url":"https://github.com/rosbit/go-aes","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rosbit%2Fgo-aes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rosbit%2Fgo-aes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rosbit%2Fgo-aes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rosbit%2Fgo-aes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rosbit","download_url":"https://codeload.github.com/rosbit/go-aes/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242014722,"owners_count":20057880,"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":[],"created_at":"2024-11-15T12:17:11.086Z","updated_at":"2025-03-05T11:17:07.927Z","avatar_url":"https://github.com/rosbit.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-aes\nencrypt/decrypt message with AES\n\n## Usage\n\n```go\npackage main\n\nimport (\n\t\"github.com/rosbit/go-aes\"\n\t\"fmt\"\n)\n\nfunc main() {\n\tkey := []byte(\"you key at least 16 bytes\")\n\toriText := \"message to be encrypted\"\n\n\t// encrypt\n\tcrypted, err := goaes.AesEncrypt([]byte(oriText), key)\n\tif err != nil {\n\t\tfmt.Printf(\"failed to crypt: %v\\n\", err)\n\t\treturn\n\t}\n\n\t// decrypt\n\tdecrypted, err := goaes.AesDecrypt(crypted, key)\n\tif err != nil {\n\t\tfmt.Printf(\"failed to decrypt: %v\\n\", err)\n\t\treturn\n\t}\n\n\tif oriText != string(decrypted) {\n\t\tfmt.Printf(\"decrypted string is not same as oriText\")\n\t\treturn\n\t}\n\tfmt.Printf(\"test aes ok\\n\")\n}\n```\n\n## Status\nThe package is fully tested.\n\n## Contribution\nPull requests are welcome! Also, if you want to discuss something send a pull request with proposal and changes.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frosbit%2Fgo-aes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frosbit%2Fgo-aes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frosbit%2Fgo-aes/lists"}