{"id":15429469,"url":"https://github.com/jedisct1/rust-ct-codecs","last_synced_at":"2025-04-09T16:20:39.237Z","repository":{"id":53614346,"uuid":"249554591","full_name":"jedisct1/rust-ct-codecs","owner":"jedisct1","description":"Constant-time hex and base64 codecs from libsodium reimplemented in Rust.","archived":false,"fork":false,"pushed_at":"2025-03-29T10:09:11.000Z","size":24,"stargazers_count":14,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-02T10:52:02.951Z","etag":null,"topics":["base64","codecs","constant-time","crypto","cryptography","hex","libhydrogen","libsodium","rust"],"latest_commit_sha":null,"homepage":null,"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/jedisct1.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":"2020-03-23T22:05:40.000Z","updated_at":"2025-03-29T10:09:14.000Z","dependencies_parsed_at":"2024-10-20T09:58:00.791Z","dependency_job_id":"429a2f2e-db59-42f1-a169-63e136e584ac","html_url":"https://github.com/jedisct1/rust-ct-codecs","commit_stats":{"total_commits":20,"total_committers":2,"mean_commits":10.0,"dds":"0.050000000000000044","last_synced_commit":"d8873f57a7a905fa5a08d5a2d33e90b02693ef1d"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jedisct1%2Frust-ct-codecs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jedisct1%2Frust-ct-codecs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jedisct1%2Frust-ct-codecs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jedisct1%2Frust-ct-codecs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jedisct1","download_url":"https://codeload.github.com/jedisct1/rust-ct-codecs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248065285,"owners_count":21041872,"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":["base64","codecs","constant-time","crypto","cryptography","hex","libhydrogen","libsodium","rust"],"created_at":"2024-10-01T18:10:27.479Z","updated_at":"2025-04-09T16:20:39.214Z","avatar_url":"https://github.com/jedisct1.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CT-Codecs\n\nA reimplementation of the base64 and hexadecimal codecs from libsodium and libhydrogen in Rust.\n\n- Constant-time for a given length, suitable for cryptographic purposes\n- Strict (base64 strings are not malleable)\n- Supports padded and unpadded, original and URL-safe base64 variants\n- Supports characters to be ignored by the decoder\n- Zero dependencies, `no_std` friendly.\n\nLinks:\n\n- [crates.io page](https://crates.io/crates/ct-codecs)\n- [docs.rs page](https://docs.rs/ct-codecs)\n\n## Example usage\n\n```rust\nuse ct_codecs::{Base64UrlSafe, Decoder, Encoder};\n\nlet encoded = Base64UrlSafe::encode_to_string(x)?;\nlet decoded = Base64UrlSafe::decode_to_vec(encoded, None)?;\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjedisct1%2Frust-ct-codecs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjedisct1%2Frust-ct-codecs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjedisct1%2Frust-ct-codecs/lists"}