{"id":19960993,"url":"https://github.com/oxion7/rc4-rust","last_synced_at":"2025-03-01T16:25:34.017Z","repository":{"id":245195182,"uuid":"801530291","full_name":"Oxion7/RC4-rust","owner":"Oxion7","description":"RC4 algorithm in rust","archived":false,"fork":false,"pushed_at":"2024-06-24T19:09:42.000Z","size":413,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-12T07:43:37.108Z","etag":null,"topics":["algorithm","cipher","cryptography","stream-cipher"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Oxion7.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-05-16T12:10:41.000Z","updated_at":"2024-09-09T22:25:19.000Z","dependencies_parsed_at":"2024-06-20T12:47:44.338Z","dependency_job_id":null,"html_url":"https://github.com/Oxion7/RC4-rust","commit_stats":null,"previous_names":["oxion7/rc4-rust"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oxion7%2FRC4-rust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oxion7%2FRC4-rust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oxion7%2FRC4-rust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oxion7%2FRC4-rust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Oxion7","download_url":"https://codeload.github.com/Oxion7/RC4-rust/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241391467,"owners_count":19955533,"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":["algorithm","cipher","cryptography","stream-cipher"],"created_at":"2024-11-13T02:06:03.522Z","updated_at":"2025-03-01T16:25:33.988Z","avatar_url":"https://github.com/Oxion7.png","language":"Rust","readme":"# RC4 Algorithm in Rust\n\nThis repository contains an implementation of the RC4 stream cipher algorithm in Rust. The program allows you to encrypt and decrypt messages using RC4.\n\n## Features\n\n- Key Scheduling Algorithm (KSA)\n- Pseudo-Random Generation Algorithm (PRGA)\n- Real-time encryption and decryption of input text\n- Hexadecimal output for ciphertext\n- Support for UTF-8 plaintext and decryption back to the original text\n\n## Getting Started\n\n### Prerequisites\n\n- Rust programming language installed. You can download it from [rust-lang.org](https://www.rust-lang.org/).\n\n### Running the Program\n\n1. **Clone the Repository**\n\n    ```sh\n    git clone https://github.com/Oxion7/rc4-rust.git\n    cd rc4-rust\n    ```\n\n2. **Build the Program**\n\n    ```sh\n    cargo build\n    ```\n\n3. **Run the Program**\n\n    ```sh\n    cargo run\n    ```\n\n### Usage\n\nUpon running the program, you will be prompted to enter a key and the plaintext to encrypt. The program will output the ciphertext in hexadecimal format and then decrypt it back to show the original plaintext.\n\nExample:\n\n```sh\nEnter the key: mysecretkey\nEnter the plaintext: hello world\nCiphertext (hex): 3e 14 23 3d 25 8b 2c 8b 1a 15 5a \nDecrypted: hello world\nDecrypted text: hello world\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foxion7%2Frc4-rust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foxion7%2Frc4-rust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foxion7%2Frc4-rust/lists"}