Practice · 3 of 3
Chunked Checksum
CHALLENGE
Difficulty: intermediate+25 XP
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.
Press Submit to check your solution.
Back to lesson: Practice: Streaming Drills