{"id":24583459,"url":"https://github.com/itmisx/crc","last_synced_at":"2025-03-17T17:14:31.907Z","repository":{"id":57642716,"uuid":"436660121","full_name":"itmisx/crc","owner":"itmisx","description":"crc校验包，支持crc8和crc16，主要用于iot应用，检查数据的完整性","archived":false,"fork":false,"pushed_at":"2021-12-11T10:28:37.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-24T04:46:35.291Z","etag":null,"topics":["crc","crc16","crc8"],"latest_commit_sha":null,"homepage":"","language":"Go","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/itmisx.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}},"created_at":"2021-12-09T15:08:54.000Z","updated_at":"2021-12-11T13:00:02.000Z","dependencies_parsed_at":"2022-08-28T00:00:59.048Z","dependency_job_id":null,"html_url":"https://github.com/itmisx/crc","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itmisx%2Fcrc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itmisx%2Fcrc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itmisx%2Fcrc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itmisx%2Fcrc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itmisx","download_url":"https://codeload.github.com/itmisx/crc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244075635,"owners_count":20393979,"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":["crc","crc16","crc8"],"created_at":"2025-01-24T04:46:38.758Z","updated_at":"2025-03-17T17:14:31.868Z","avatar_url":"https://github.com/itmisx.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# crc\n\ncrc 校验在物联网数据校验中经常使用，这里封装了crc8和crc16的计算方法。\n\n#### install\n\n`go get -u github.com/itmisx/crc`\n\n#### example\n\n````go\n// crc8\nvar data = []byte{0x01,0x02}\ncrc8 := crc.Crc8(data)\n// crc16\nvar data = []byte{0x01,0x02}\ncrc16 := crc.Crc16(data)\n````\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitmisx%2Fcrc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitmisx%2Fcrc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitmisx%2Fcrc/lists"}