Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
I didn't understand what "hash" means. If you get a hash sum, then all algorithms for calculating hash sums allow you to feed the file in small blocks. And the technique depends on the library of files and hash sums that you are currently using.
In Go, all packages for working with hashes (for example, crypto/sha256) can accept data in pieces.
An object with the io.Writer interface is simply created, and you can use io.Copy to redirect the data stream there, for example.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question