{"id":22140073,"url":"https://github.com/thepuzzlemaker/co2","last_synced_at":"2025-06-30T08:09:03.124Z","repository":{"id":104130455,"uuid":"325244718","full_name":"ThePuzzlemaker/co2","owner":"ThePuzzlemaker","description":"CO₂: Human ciphers, implemented in Rust.","archived":false,"fork":false,"pushed_at":"2020-12-29T09:34:48.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-29T16:12:26.551Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/ThePuzzlemaker.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":"2020-12-29T09:33:41.000Z","updated_at":"2020-12-29T09:34:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"e63b3d31-c8bc-4ab3-832a-0983d5d84c47","html_url":"https://github.com/ThePuzzlemaker/co2","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/ThePuzzlemaker%2Fco2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThePuzzlemaker%2Fco2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThePuzzlemaker%2Fco2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThePuzzlemaker%2Fco2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ThePuzzlemaker","download_url":"https://codeload.github.com/ThePuzzlemaker/co2/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245257970,"owners_count":20585976,"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":[],"created_at":"2024-12-01T20:26:20.719Z","updated_at":"2025-03-24T10:44:48.716Z","avatar_url":"https://github.com/ThePuzzlemaker.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CO₂: Human ciphers, implemented in Rust.\n\nCO₂ (a.k.a. \"Cipherium Dioxide\", or perhaps \"Cipher Dioxide\", or just \"C-O-2\" if you insist) is an extensible Rust library for \"human ciphers\" (which are simpler ciphers, such as the Caesar cipher or Vigenère cipher).\n\n## Example (proposed API)\n```rs\nuse co2::prelude::*;\nuse subst::VigenereBuilder;\n\nfn main() {\n    // Build the cipher encoder/decoder for a standard Vigenère cipher\n    // with the key `ciphersarecool`. Everything else should be set to\n    // the default.\n    let c = VigenereBuilder::standard().key(\"ciphersarecool\").build();\n    // Encode \"Hello, world!\" using the Vigenère cipher with the\n    // previously set key. This returns a `String`, so to compare\n    // it with a `\u0026str`, it needs some coaxing.\n    assert_eq!(\u0026c.encode(\"Hello, world!\"), \"Jmass, ngrch!\");\n    // Decode some encoded text with the previously set key.\n    // This returns a `String` too.\n    assert_eq!(\u0026c.decode(\"Kb lvvbk!\"), \"It works!\");\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthepuzzlemaker%2Fco2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthepuzzlemaker%2Fco2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthepuzzlemaker%2Fco2/lists"}