{"id":19902584,"url":"https://github.com/johnbasrai/rc5-cbc","last_synced_at":"2025-07-28T08:06:38.022Z","repository":{"id":234652998,"uuid":"704535019","full_name":"JohnBasrai/rc5-cbc","owner":"JohnBasrai","description":"RC5 Symmetric Block Cipher in Rust","archived":false,"fork":false,"pushed_at":"2024-12-15T17:20:17.000Z","size":14,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-11T21:22:29.966Z","etag":null,"topics":["cryptography"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/JohnBasrai.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":"2023-10-13T13:17:09.000Z","updated_at":"2024-12-01T03:59:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"b1ec9244-4ad3-42bc-acee-c50b72ddd683","html_url":"https://github.com/JohnBasrai/rc5-cbc","commit_stats":null,"previous_names":["johnbasrai/rc5-cbc"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnBasrai%2Frc5-cbc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnBasrai%2Frc5-cbc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnBasrai%2Frc5-cbc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnBasrai%2Frc5-cbc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JohnBasrai","download_url":"https://codeload.github.com/JohnBasrai/rc5-cbc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241329419,"owners_count":19944985,"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":["cryptography"],"created_at":"2024-11-12T20:18:34.112Z","updated_at":"2025-07-28T08:06:38.006Z","avatar_url":"https://github.com/JohnBasrai.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RC5 in Rust [![CI](https://github.com/JohnBasrai/rc5-cbc/actions/workflows/rust.yml/badge.svg)](https://github.com/JohnBasrai/rc5-cbc/actions/workflows/rust.yml)\n\nRC5 is a symmetric-key block-cipher designed by Ron Rivest in 1994.  \nIt is notable for being simple and fast (it uses only primitive operations such as XOR and data-dependent rotations) and for its small memory footprint. Those properties make Rust an **ideal** language in which to implement it.\n\n---\n\n## Building the library \u0026 CLI\n\n```console\n# build an optimized release binary\n$ cargo build --release\n```\nThe CLI lives in `src/bin/rc5-cbc.rs` and is built automatically as the `rc5-cbc` binary.\n\n---\n\n## Usage\n\n### Encrypt\n\n```console\n# replace \u003cPLAINTEXT\u003e with any file you want to protect\n$ cargo run --release --bin rc5-cbc -- --input \u003cPLAINTEXT\u003e --output ciphertext.rc5 encrypt\nPassphrase: ********\n```\n\n### Decrypt\n\n```console\n$ cargo run --release --bin rc5-cbc -- --input ciphertext.rc5 --output \u003cDECRYPTED_OUT\u003e decrypt\nPassphrase: ********\n```\n## Running tests \u0026 lints\n\n```console\n# unit + integration + property tests\n$ cargo test\n\n# static analysis\n$ cargo clippy --all-targets --all-features\n```\n\nAll tests should pass and Clippy should emit no warnings.\n\n---\n\n## License\n\nThis project is licensed under the MIT License – see [`LICENSE`](LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnbasrai%2Frc5-cbc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnbasrai%2Frc5-cbc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnbasrai%2Frc5-cbc/lists"}