{"id":25098222,"url":"https://github.com/antosser/base94-rs","last_synced_at":"2025-10-24T14:33:03.786Z","repository":{"id":187845543,"uuid":"677560455","full_name":"Antosser/base94-rs","owner":"Antosser","description":"Base94 Encoding Library: Convert binary data to a compact text-based format using Base94 encoding. Effortlessly encode and decode data for a wide range of use cases. 🔐🔍","archived":false,"fork":false,"pushed_at":"2023-11-02T19:47:36.000Z","size":19,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-19T16:49:11.372Z","etag":null,"topics":["algorithm","base94","binary-to-text","cryptography","development","encoding","rust","rust-library","security","text-format","utility"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/base94","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/Antosser.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":"2023-08-11T22:42:31.000Z","updated_at":"2025-01-03T01:33:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"73962090-a664-41fc-aea5-c9185fd649e3","html_url":"https://github.com/Antosser/base94-rs","commit_stats":null,"previous_names":["antosser/base94-rs"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Antosser/base94-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Antosser%2Fbase94-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Antosser%2Fbase94-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Antosser%2Fbase94-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Antosser%2Fbase94-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Antosser","download_url":"https://codeload.github.com/Antosser/base94-rs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Antosser%2Fbase94-rs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261734036,"owners_count":23201758,"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","base94","binary-to-text","cryptography","development","encoding","rust","rust-library","security","text-format","utility"],"created_at":"2025-02-07T18:30:42.829Z","updated_at":"2025-10-24T14:33:03.665Z","avatar_url":"https://github.com/Antosser.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Base94 Encoding Library\n\nConvert binary data to a compact text-based format using Base94 encoding. Effortlessly encode and decode data for a wide range of use cases. 🔐🔍\n\n## Features\n\n- Encode binary data into a Base94-encoded string.\n- Decode Base94-encoded strings back to their original binary form.\n\n## Usage\n### As a library\n\nTo use this library, add it as a dependency in your `Cargo.toml`:\n\n```toml\n[dependencies]\nbase94 = \"0.1.0\"\n```\nThen, in your Rust code:\n```rust\nuse base94::{encode, decode};\n\nfn main() {\n    let data = b\"Hello, World!\";\n    let base = 94;\n\n    // Encode data\n    let encoded = encode(data, base);\n    println!(\"Encoded: {}\", encoded);\n\n    // Decode data\n    let decoded = decode(\u0026encoded, base).unwrap();\n    println!(\"Decoded: {:?}\", decoded);\n}\n```\n\n### As a CLI\nTo install the CLI, run `cargo install base94`. This will install the `base94cli` binary to your system.\n```\nBase94 encoding/decoding library\n\nUsage: base94cli.exe [OPTIONS] \u003cOPERATION\u003e \u003cINPUT\u003e \u003cOUTPUT\u003e\n\nArguments:\n  \u003cOPERATION\u003e  Whether to encode or decode the input [possible values: encode, decode]\n  \u003cINPUT\u003e      The input file to encode or decode\n  \u003cOUTPUT\u003e     The output file to write the result to\n\nOptions:\n  -b, --base \u003cBASE\u003e  The base to use for encoding or decoding. Must be between 2 and 94 (inclusive) [default: 94]\n  -h, --help         Print help\n  -V, --version      Print version\n```\n\n## Supported Bases\n\nThe encoding and decoding functions support various bases within the range of 2 to 94. The specified base must be consistent between encoding and decoding operations.\n\n## Examples\n\nEncoding and decoding example with a base of 50:\n```rust\nuse base94::{encode, decode};\n\nlet data = b\"Example data for encoding.\";\nlet base = 50;\n\nlet encoded = encode(data, base);\nlet decoded = decode(\u0026encoded, base).unwrap();\n\nassert_eq!(decoded, data);\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantosser%2Fbase94-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fantosser%2Fbase94-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantosser%2Fbase94-rs/lists"}