{"id":20704108,"url":"https://github.com/solidsnack/sonnenbrille","last_synced_at":"2026-04-20T12:32:59.725Z","repository":{"id":57667947,"uuid":"419545702","full_name":"solidsnack/sonnenbrille","owner":"solidsnack","description":"Rust implementation of CRC-8 with user-configurable polynomial","archived":false,"fork":false,"pushed_at":"2023-12-11T21:31:54.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-10T10:25:13.864Z","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/solidsnack.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":"2021-10-21T01:43:48.000Z","updated_at":"2021-10-21T02:39:24.000Z","dependencies_parsed_at":"2024-11-17T01:11:03.673Z","dependency_job_id":null,"html_url":"https://github.com/solidsnack/sonnenbrille","commit_stats":{"total_commits":8,"total_committers":1,"mean_commits":8.0,"dds":0.0,"last_synced_commit":"866c511a761b0bf4c7baf3c6cd941af53b21f988"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/solidsnack/sonnenbrille","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solidsnack%2Fsonnenbrille","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solidsnack%2Fsonnenbrille/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solidsnack%2Fsonnenbrille/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solidsnack%2Fsonnenbrille/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/solidsnack","download_url":"https://codeload.github.com/solidsnack/sonnenbrille/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solidsnack%2Fsonnenbrille/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32047180,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T11:35:06.609Z","status":"ssl_error","status_checked_at":"2026-04-20T11:34:48.899Z","response_time":94,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":[],"created_at":"2024-11-17T01:11:00.251Z","updated_at":"2026-04-20T12:32:59.685Z","avatar_url":"https://github.com/solidsnack.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sonnenbrille\n\n*[\"Son­nen­bril­le, die -- Brille mit dunkel getönten Gläsern, die die\nAugen vor zu starker Helligkeit des Sonnenlichts schützen soll\"][sb]*\n-- Duden\n\n[sb]: https://www.duden.de/rechtschreibung/Sonnenbrille\n\n*\"Sunglasses, feminine -- Glasses with dark-toned lenses, that protect\nthe eyes from bright sunlight\"*\n\nThere are many articles, references and online resources for the Cyclic\nRedundancy Check, but I was surprised and greatly helped by the clarity\nand comprehensiveness of [Sunshine 2K][s2k]'s\n*[Understanding and implementing CRC (Cyclic Redundancy Check)\ncalculation][U]*. Along with the author's [online implementation][JS],\nthis illuminating article made it possible for me to understand,\nimplement and test an 8-bit CRC calculator in Rust.\n\n[s2k]: http://www.sunshine2k.de/\n[U]: http://www.sunshine2k.de/articles/coding/crc/understanding_crc.html\n[JS]: http://www.sunshine2k.de/coding/javascript/crc/crc_js.html\n\n```rs\nextern crate sonnenbrille;\nuse sonnenbrille::CRC8;\n\nfn crc8(num: u32): u8 {\n    let calculator = CRC8::default();\n    return calculator.of(\u0026num.to_be_bytes(), 0x00);\n}\n\nfn main() {\n    let num: u32 = 0x31313233;\n    let calculator = CRC8::default();\n    let checksum = calculator.of(\u0026num.to_be_bytes(), 0x00);\n    assert_eq!(checksum, 0x7F);\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolidsnack%2Fsonnenbrille","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsolidsnack%2Fsonnenbrille","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolidsnack%2Fsonnenbrille/lists"}