HF RL Explorer

SHA256 File Checksum Calculator in Go (Streaming)

SHA256 File Checksum Calculator in Go (Streaming): a task in Terminal-Lego-15k (Harbor dataset). Write a Go program that calculates the SHA256 checksum of a file using streaming I/O, so it can efficiently handle files of any size without loading the entire file into memory.

The task

Write a Go program that calculates the SHA256 checksum of a file using streaming I/O, so it can efficiently handle files of any size without loading the entire file into memory.

Part of PrimeIntellect/Terminal-Lego-15k.