{"id":27375078,"url":"https://github.com/katharostech/xorio","last_synced_at":"2026-02-10T01:34:13.234Z","repository":{"id":57672592,"uuid":"336049517","full_name":"katharostech/xorio","owner":"katharostech","description":"Rust library for XOR-ing Read/Write Streams","archived":false,"fork":false,"pushed_at":"2021-02-04T21:57:40.000Z","size":7,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-05T07:16:59.489Z","etag":null,"topics":["rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/katharostech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-02-04T18:41:35.000Z","updated_at":"2021-04-22T20:53:35.000Z","dependencies_parsed_at":"2022-08-31T08:11:12.269Z","dependency_job_id":null,"html_url":"https://github.com/katharostech/xorio","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katharostech%2Fxorio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katharostech%2Fxorio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katharostech%2Fxorio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katharostech%2Fxorio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/katharostech","download_url":"https://codeload.github.com/katharostech/xorio/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katharostech%2Fxorio/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":258615062,"owners_count":22729465,"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":["rust"],"created_at":"2025-04-13T12:14:21.886Z","updated_at":"2026-02-10T01:34:12.040Z","avatar_url":"https://github.com/katharostech.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# xorio\n\n[![Crates.io](https://img.shields.io/crates/v/xorio.svg)](https://crates.io/crates/xorio)\n[![Docs.rs](https://docs.rs/xorio/badge.svg)](https://docs.rs/xorio)\n[![Katharos License](https://img.shields.io/badge/License-Katharos-blue)](https://github.com/katharostech/katharos-license)\n\n[`Read`]/[`Write`] implementation that Xor's the bytes that come through it and wraps around\nanother [`Read`] or [`Write`].\n\n## Examples\n\n### Writing\n\n```rust\nlet mut file = File::create(\"my_xored_file.bin\").unwrap();\nlet mut writer = Xor::new(file);\nwriter.write_all(\"Hello World\".as_bytes());\n```\n\n### Reading\n\n```rust\nlet mut file = File::open(\"my_xored_file.bin\").unwrap();\nlet mut reader = Xor::new(file);\nlet mut content = String::new();\nreader.read_to_string(\u0026mut content);\n```\n\n### Custom Xor Bytes\n\nYou can also customize the bytes that it will XOR the stream with. By default it uses a single\nbyte `0b01010101` to calculate the XOR.\n\n```rust\nlet mut file = File::create(\"my_xored_file.bin\").unwrap();\nlet mut writer = Xor::new_with_xor_bytes(file, vec![1, 2, 3]);\nwriter.write_all(\"Hello World\".as_bytes());\n```\n\n## License\n\nBevy LDtk is licensed under the [Katharos License][k_license] which places certain restrictions\non what you are allowed to use it for. Please read and understand the terms before using Bevy\nLDtk for your project.\n\n[k_license]: https://github.com/katharostech/katharos-license\n\n[`Read`]: https://doc.rust-lang.org/stable/std/io/trait.Read.html\n[`Write`]: https://doc.rust-lang.org/stable/std/io/trait.Write.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkatharostech%2Fxorio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkatharostech%2Fxorio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkatharostech%2Fxorio/lists"}