Skip to main content

Practice ยท 3 of 3

Chunked Checksum

Implement file_hash(path) computing the SHA-256 hex digest of a file by reading it in 64 KB chunks (never the whole file). Return the hexdigest string.

Difficulty: intermediate

Back to lesson: Practice: Streaming Drills