{"id":17051843,"url":"https://github.com/zonble/simple_rc4_dart","last_synced_at":"2025-04-12T16:24:36.550Z","repository":{"id":50704843,"uuid":"141309081","full_name":"zonble/simple_rc4_dart","owner":"zonble","description":"Yet another RC4 cryptor that encodes/decodes bytes and UTF8 strings.","archived":false,"fork":false,"pushed_at":"2023-01-28T20:28:27.000Z","size":26,"stargazers_count":3,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-26T10:48:11.574Z","etag":null,"topics":["dart","rc4","rc4-algorithm"],"latest_commit_sha":null,"homepage":"","language":"Dart","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/zonble.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}},"created_at":"2018-07-17T15:30:12.000Z","updated_at":"2021-11-20T19:50:39.000Z","dependencies_parsed_at":"2023-02-15T18:40:41.938Z","dependency_job_id":null,"html_url":"https://github.com/zonble/simple_rc4_dart","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zonble%2Fsimple_rc4_dart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zonble%2Fsimple_rc4_dart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zonble%2Fsimple_rc4_dart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zonble%2Fsimple_rc4_dart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zonble","download_url":"https://codeload.github.com/zonble/simple_rc4_dart/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248594848,"owners_count":21130436,"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":["dart","rc4","rc4-algorithm"],"created_at":"2024-10-14T10:07:40.772Z","updated_at":"2025-04-12T16:24:36.521Z","avatar_url":"https://github.com/zonble.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# simple_rc4\n\n[![Actions Status](https://github.com/zonble/simple_rc4_dart/workflows/Dart%20CI/badge.svg)](https://github.com/zonble/simple_rc4_dart/actions)\n\nRC4 cryptor that encodes/decodes bytes and UTF8 strings.\n\nCredit to https://github.com/zonble the original creator of this library.\n\nThe only difference: this handels mal formed list in decoding, by adding a default parameter {[bool](https://api.dart.dev/be/181224/dart-core/bool-class.html)? allowMalformed} to the decoding function that allows mal formed List to prevent FormatException: Unexpected extension byte...\n\n## Usage\n\nThe package provides a simple class, [RC4], just create an instance of it with\nyour key, and then pass your data that you want to do encoding/decoding.\n\nA simple usage example:\n\n```dart\nimport 'package:simple_rc4/simple_rc4.dart';\n\nmain() {\n  RC4 rc4 = new RC4('zonble');\n  String input = '中文';\n  var bytes = rc4.encodeBytes(utf8.encode(input));\n  print(bytes);\n}\n```\n\nThat's all! Enjoy!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzonble%2Fsimple_rc4_dart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzonble%2Fsimple_rc4_dart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzonble%2Fsimple_rc4_dart/lists"}