Add SHA256File to get the checksum of a file #20

Merged
sneak merged 1 commits from clawbot/util:proposal-sha256-file into master 2026-09-05 05:43:38 +02:00

1 Commits

Author SHA1 Message Date
62f769ae9b add SHA256File for checksumming a file
SHA256File returns the SHA-256 digest of a file's contents as lowercase
hexadecimal, copying the file through the hash in chunks so its size does not
matter. Comes with a doc comment and table-driven tests. (closes #19)

Model: opus-5
2026-09-05 03:32:00 +00:00