~/runtimelab $ cat ./filechunker-go/README
Chunk a file (Go)
Every cloud uploader cuts a file into pieces before it sends any of it, and every one of those pieces carries a checksum so the receiver can tell a network from a liar. Build the splitter, the per-chunk SHA-256, the manifest that describes the whole file, and the reassembly that puts pieces back together in the order they belong rather than the order they arrived.
what you end up with
Chunking, checksums and an upload manifest
- stages
- 4
- estimated
- ~2 h
- level
- Beginner
- track
- Backend Engineering
- language
- Go
- a short Read is not a short file
- SHA-256 per chunk, over exactly the bytes of that chunk
- the manifest a receiver reads before the first byte arrives
- integer division and the last partial chunk
- reassembly by offset rather than by arrival order
The stage list opens once you sign in — it is the challenge, not the pitch. Signing in is free, and the first stages of every challenge are too.