{"id":15517542,"url":"https://github.com/bodgit/crc32","last_synced_at":"2026-02-18T06:32:12.767Z","repository":{"id":57609044,"uuid":"290339260","full_name":"bodgit/crc32","owner":"bodgit","description":"Golang library to manipulate CRC-32 checksum values","archived":false,"fork":false,"pushed_at":"2024-05-07T20:00:12.000Z","size":23,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-13T20:04:15.693Z","etag":null,"topics":["crc","crc-calculation","crc32","golang","golang-library"],"latest_commit_sha":null,"homepage":"https://godoc.org/github.com/bodgit/crc32","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bodgit.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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-08-25T22:42:37.000Z","updated_at":"2024-05-03T16:59:49.000Z","dependencies_parsed_at":"2024-05-03T18:09:54.782Z","dependency_job_id":"09ae7002-f6f1-44ef-aa6a-45721d82aac2","html_url":"https://github.com/bodgit/crc32","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/bodgit/crc32","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bodgit%2Fcrc32","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bodgit%2Fcrc32/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bodgit%2Fcrc32/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bodgit%2Fcrc32/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bodgit","download_url":"https://codeload.github.com/bodgit/crc32/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bodgit%2Fcrc32/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279016923,"owners_count":26085905,"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","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","crc-calculation","crc32","golang","golang-library"],"created_at":"2024-10-02T10:13:44.074Z","updated_at":"2025-10-13T20:04:49.132Z","avatar_url":"https://github.com/bodgit.png","language":"Go","readme":"[![GitHub release](https://img.shields.io/github/v/release/bodgit/crc32)](https://github.com/bodgit/crc32/releases)\n[![Build Status](https://img.shields.io/github/actions/workflow/status/bodgit/crc32/build.yml?branch=main)](https://github.com/bodgit/crc32/actions?query=workflow%3ABuild)\n[![Coverage Status](https://coveralls.io/repos/github/bodgit/crc32/badge.svg?branch=main)](https://coveralls.io/github/bodgit/crc32?branch=main)\n[![Go Report Card](https://goreportcard.com/badge/github.com/bodgit/crc32)](https://goreportcard.com/report/github.com/bodgit/crc32)\n[![GoDoc](https://godoc.org/github.com/bodgit/crc32?status.svg)](https://godoc.org/github.com/bodgit/crc32)\n![Go version](https://img.shields.io/badge/Go-1.20-brightgreen.svg)\n![Go version](https://img.shields.io/badge/Go-1.19-brightgreen.svg)\n\ncrc32\n=====\n\nAn implementation of an algorithm to modify a file so that its CRC-32 checksum\nmatches a given value. This requires four sacrificial bytes in the file that\nwill be modified to generate the desired value. A small example:\n```golang\nf, err := os.OpenFile(\"somefile\", O_RDWR, 0) // Remember to open read/write!\nif err != nil {\n        log.Fatal(err)\n}\ndefer f.Close()\n\nif err := crc32.ForceCRC32(f, 0, 0xdeadbeef); err != nil {\n        log.Fatal(err)\n}\n```\nIn this example the first four bytes in `somefile` will be modified so that\nthe CRC-32 checksum of `somefile` will be `0xdeadbeef` however the bytes can\nbe anywhere in the file, but must be contiguous.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbodgit%2Fcrc32","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbodgit%2Fcrc32","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbodgit%2Fcrc32/lists"}