{"id":32308013,"url":"https://github.com/smallbuer/flutter_aes_ecb_pkcs5","last_synced_at":"2026-02-22T00:02:56.246Z","repository":{"id":56829000,"uuid":"211137030","full_name":"smallbuer/flutter_aes_ecb_pkcs5","owner":"smallbuer","description":"a flutter plugin of aes_ecb_pkcs5","archived":false,"fork":false,"pushed_at":"2023-06-03T08:33:26.000Z","size":102,"stargazers_count":12,"open_issues_count":1,"forks_count":12,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-19T15:00:54.150Z","etag":null,"topics":["aes","ecb","flutter","pkcs5"],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/smallbuer.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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-09-26T16:43:52.000Z","updated_at":"2022-02-12T04:02:51.000Z","dependencies_parsed_at":"2024-06-21T12:57:42.625Z","dependency_job_id":"9890295d-a936-445d-97b3-e039f9fa24d2","html_url":"https://github.com/smallbuer/flutter_aes_ecb_pkcs5","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/smallbuer/flutter_aes_ecb_pkcs5","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smallbuer%2Fflutter_aes_ecb_pkcs5","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smallbuer%2Fflutter_aes_ecb_pkcs5/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smallbuer%2Fflutter_aes_ecb_pkcs5/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smallbuer%2Fflutter_aes_ecb_pkcs5/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smallbuer","download_url":"https://codeload.github.com/smallbuer/flutter_aes_ecb_pkcs5/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smallbuer%2Fflutter_aes_ecb_pkcs5/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29601697,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T02:50:40.506Z","status":"ssl_error","status_checked_at":"2026-02-19T02:50:26.316Z","response_time":117,"last_error":"SSL_read: 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":["aes","ecb","flutter","pkcs5"],"created_at":"2025-10-23T07:26:11.227Z","updated_at":"2026-02-22T00:02:56.237Z","avatar_url":"https://github.com/smallbuer.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"## AES 128 pkcs5 only support\n* Provide generation of AES keys\n* Provide encrypt for AES keys  \n* Provide decrypt for AES keys  \n\n* Android uses java, iOS uses OC development\n\n\n## Usage\n\nUse this package as a library\n1. Depend on it\nAdd this to your package's pubspec.yaml file:\n\n```\ndependencies:\n  flutter_aes_ecb_pkcs5: ^0.1.3\n```\n\n2. Install it You can install packages from the command line:\n\nwith Flutter:\n\n```\n$ flutter pub get\n```\n\nAlternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.\n\n3. Import it Now in your Dart code, you can use:\n\n```\nimport 'package:flutter_aes_ecb_pkcs5/flutter_aes_ecb_pkcs5.dart';\n```\n\n\n\n#### AES Use Example\n\n\n\n```dart\nimport 'package:flutter_aes_ecb_pkcs5/flutter_aes_ecb_pkcs5.dart';\n\nvoid main() {\n\n    var data = \"{\\\"username\\\":\\\"helloword\\\"}\";\n    \n    //generate a 16-byte random key\n    var key = await FlutterAesEcbPkcs5.generateDesKey(128);\n    \n    print(key);\n    //encrypt\n    var encryptText = await FlutterAesEcbPkcs5.encryptString(data, key);\n    \n    print(encryptText);\n    //decrypt\n    var decryptText  = await FlutterAesEcbPkcs5.decryptString(encryptText, key);\n    \n    print(decryptText);\n  \n}\n```\n\n#### Run Example Result\n```\ndata:{\"username\":\"helloword\"}\ncreate key:DA8FD2693B652D587EEE51E7ADD9DBB8\nencryptText :851544E224F6C1C7F560AB82889DE0DF66EEB6762AB836F4EE13E31100F0EA16\ndecryptText :{\"username\":\"helloword\"}\n```\n\n#### License\n\nThe MIT License(http://opensource.org/licenses/MIT)\n\nPlease feel free to use and contribute to the development.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmallbuer%2Fflutter_aes_ecb_pkcs5","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmallbuer%2Fflutter_aes_ecb_pkcs5","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmallbuer%2Fflutter_aes_ecb_pkcs5/lists"}