{"id":13412790,"url":"https://github.com/codingsince1985/checksum","last_synced_at":"2025-04-09T13:06:21.605Z","repository":{"id":22864969,"uuid":"26212711","full_name":"codingsince1985/checksum","owner":"codingsince1985","description":"Compute message digest for large files in Go","archived":false,"fork":false,"pushed_at":"2023-12-19T00:10:55.000Z","size":28,"stargazers_count":102,"open_issues_count":2,"forks_count":17,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-07-31T20:51:28.637Z","etag":null,"topics":["blake2s","checksum","crc32","go","golang","md5","message-digest","sha1","sha256"],"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/codingsince1985.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},"funding":{"github":"codingsince1985","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2014-11-05T09:37:00.000Z","updated_at":"2024-06-28T07:25:25.000Z","dependencies_parsed_at":"2024-01-30T04:55:46.739Z","dependency_job_id":null,"html_url":"https://github.com/codingsince1985/checksum","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codingsince1985%2Fchecksum","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codingsince1985%2Fchecksum/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codingsince1985%2Fchecksum/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codingsince1985%2Fchecksum/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codingsince1985","download_url":"https://codeload.github.com/codingsince1985/checksum/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248045231,"owners_count":21038553,"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":["blake2s","checksum","crc32","go","golang","md5","message-digest","sha1","sha256"],"created_at":"2024-07-30T20:01:29.230Z","updated_at":"2025-04-09T13:06:21.587Z","avatar_url":"https://github.com/codingsince1985.png","language":"Go","funding_links":["https://github.com/sponsors/codingsince1985"],"categories":["文件处理","File Handling","Relational Databases","Files","文件处理`处理文件和文件系统操作的库`"],"sub_categories":["检索及分析资料库","Search and Analytic Databases","Advanced Console UIs","SQL 查询语句构建库"],"readme":"checksum\n==\n[![PkgGoDev](https://pkg.go.dev/badge/github.com/codingsince1985/checksum)](https://pkg.go.dev/github.com/codingsince1985/checksum)\n[![Go Report Card](https://goreportcard.com/badge/codingsince1985/checksum)](https://goreportcard.com/report/codingsince1985/checksum)\n[![codecov](https://codecov.io/gh/codingsince1985/checksum/branch/master/graph/badge.svg?token=BO1wAQwc85)](https://codecov.io/gh/codingsince1985/checksum)\n\nCompute message digest, like MD5, SHA256, SHA1, CRC or BLAKE2s-256 in Golang for potentially large files.\n\nUsage\n--\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\t\"github.com/codingsince1985/checksum\"\n)\n\nfunc main() {\n\tfile := \"/home/jerry/Downloads/ubuntu-20.04.2.0-desktop-amd64.iso\"\n\n\tmd5, _ := checksum.MD5sum(file)\n\tfmt.Println(md5)\n\n\tsha256, _ := checksum.SHA256sum(file)\n\tfmt.Println(sha256)\n\n\tsha1, _ := checksum.SHA1sum(file)\n\tfmt.Println(sha1)\n\n\tcrc32, _ := checksum.CRC32(file)\n\tfmt.Println(crc32)\n\n\tblake2s256, _ := checksum.Blake2s256(file)\n\tfmt.Println(blake2s256)\n}\n```\nLicense\n==\nchecksum is distributed under the terms of the MIT license. See LICENSE for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodingsince1985%2Fchecksum","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodingsince1985%2Fchecksum","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodingsince1985%2Fchecksum/lists"}