{"id":17077080,"url":"https://github.com/ing-systems/crcxx","last_synced_at":"2026-03-04T23:02:57.790Z","repository":{"id":57612190,"uuid":"257230824","full_name":"ing-systems/crcxx","owner":"ing-systems","description":"The crate computes CRC-8/16/32/64/128 using various methods.","archived":false,"fork":false,"pushed_at":"2023-03-04T07:30:58.000Z","size":123,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-28T17:53:28.838Z","etag":null,"topics":["crc","crc16","crc32","crc64","crc82","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ing-systems.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,"zenodo":null}},"created_at":"2020-04-20T09:21:47.000Z","updated_at":"2025-02-15T00:40:36.000Z","dependencies_parsed_at":"2025-05-07T15:06:24.839Z","dependency_job_id":"3e77a324-d302-4c99-b6b4-1345d5c91ad8","html_url":"https://github.com/ing-systems/crcxx","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/ing-systems/crcxx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ing-systems%2Fcrcxx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ing-systems%2Fcrcxx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ing-systems%2Fcrcxx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ing-systems%2Fcrcxx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ing-systems","download_url":"https://codeload.github.com/ing-systems/crcxx/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ing-systems%2Fcrcxx/sbom","scorecard":{"id":488535,"data":{"date":"2025-08-11","repo":{"name":"github.com/ing-systems/crcxx","commit":"900b1c6ed9b071dfa721be96945400bb34584abd"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.8,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: downloadThenRun not pinned by hash: ci/install.sh:30","Info:   0 out of   1 downloadThenRun dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-19T18:26:58.960Z","repository_id":57612190,"created_at":"2025-08-19T18:26:58.960Z","updated_at":"2025-08-19T18:26:58.960Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30098105,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T22:49:54.894Z","status":"ssl_error","status_checked_at":"2026-03-04T22:49:48.883Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["crc","crc16","crc32","crc64","crc82","rust"],"created_at":"2024-10-14T12:12:19.623Z","updated_at":"2026-03-04T23:02:57.761Z","avatar_url":"https://github.com/ing-systems.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# crcxx\n\n[![Crate](https://img.shields.io/crates/v/crcxx.svg)](https://crates.io/crates/crcxx)\n[![API](https://docs.rs/crcxx/badge.svg)](https://docs.rs/crcxx)\n[![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](LICENSE)\n[![Windows Build Status](https://ci.appveyor.com/api/projects/status/loj512o2qo6q0rwg?svg=true)](https://ci.appveyor.com/project/khrs/crcxx)\n\nThe crate computes CRC-8/16/32/64/128 using various methods. Included catalog of CRC parameters simplify usage.\nIt is applicable from small embedded systems to modern desktops and servers. No unsafe or architecture specific code.\n\n### Processing using no lookup table, single byte per step\n\nThe slowest method. No additional memory required.\n\n```rust\nuse crcxx::crc32::{*, catalog::CRC_32_BZIP2};\n\nconst CRC: Crc\u003cNoLookupTable\u003e =\n    Crc::\u003cNoLookupTable\u003e::new(\u0026CRC_32_BZIP2);\n\nfn main() {\n    // Singlepart data.\n    let crc = CRC.compute(b\"123456789\");\n    assert_eq!(crc, 0xFC89_1918);\n\n    // Multipart data.\n    let mut multipart = CRC.compute_multipart();\n    multipart.update(b\"1234\");\n    multipart.update(b\"5678\");\n    multipart.update(b\"9\");\n\n    let crc = multipart.value();\n    assert_eq!(crc, 0xFC89_1918);\n}\n```\n\n### Processing using a lookup table with 32 entries, single byte per step\n\nGood compromise between speed and memory consumption for small embedded devices.\nDepending on usage scenario usually 2-5 times faster than the previous method.\n\n```rust\nuse crcxx::crc32::{*, catalog::CRC_32_BZIP2};\n\nconst CRC: Crc\u003cLookupTable32\u003e =\n    Crc::\u003cLookupTable32\u003e::new(\u0026CRC_32_BZIP2);\n\nfn main() {\n    // Singlepart data.\n    let crc = CRC.compute(b\"123456789\");\n    assert_eq!(crc, 0xFC89_1918);\n\n    // Multipart data.\n    let mut multipart = CRC.compute_multipart();\n    multipart.update(b\"1234\");\n    multipart.update(b\"5678\");\n    multipart.update(b\"9\");\n\n    let crc = multipart.value();\n    assert_eq!(crc, 0xFC89_1918);\n}\n```\n\n### Processing using a lookup table with 256 entries, single byte per step\n\nDepending on usage scenario usually no more than 2 times faster than the previous method.\n\n```rust\nuse crcxx::crc32::{*, catalog::CRC_32_BZIP2};\n\nconst CRC: Crc\u003cLookupTable256\u003e =\n    Crc::\u003cLookupTable256\u003e::new(\u0026CRC_32_BZIP2);\n\nfn main() {\n    // Singlepart data.\n    let crc = CRC.compute(b\"123456789\");\n    assert_eq!(crc, 0xFC89_1918);\n\n    // Multipart data.\n    let mut multipart = CRC.compute_multipart();\n    multipart.update(b\"1234\");\n    multipart.update(b\"5678\");\n    multipart.update(b\"9\");\n\n    let crc = multipart.value();\n    assert_eq!(crc, 0xFC89_1918);\n}\n```\n\n### Processing using a lookup table with 256 x SLICES entries, multiple bytes per step\n\nUltimate method for processing big amounts of data on modern desktops and servers without using architecture\nspecific instructions. Depending on usage scenario (prefer bigger chunks) usually 6 times faster than the previous method.\nThe recommended number of slices is 16. There is usually less than 10% improvement when going from 16 to 32.\n\n```rust\nuse crcxx::crc32::{*, catalog::CRC_32_BZIP2};\n\nconst SLICES: usize = 16;\nconst CRC: Crc\u003cLookupTable256xN\u003cSLICES\u003e\u003e =\n    Crc::\u003cLookupTable256xN\u003cSLICES\u003e\u003e::new(\u0026CRC_32_BZIP2);\n\nfn main() {\n    // Singlepart data.\n    let crc = CRC.compute(b\"123456789\");\n    assert_eq!(crc, 0xFC89_1918);\n\n    // Multipart data.\n    let mut multipart = CRC.compute_multipart();\n    multipart.update(b\"1234\");\n    multipart.update(b\"5678\");\n    multipart.update(b\"9\");\n\n    let crc = multipart.value();\n    assert_eq!(crc, 0xFC89_1918);\n}\n```\n\n## MSRV\n\nCurrent MSRV is 1.59. Keep in mind the official crate policy is latest stable.\n\n## License\n\nThis project is licensed under the [Apache 2.0 license](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fing-systems%2Fcrcxx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fing-systems%2Fcrcxx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fing-systems%2Fcrcxx/lists"}