SHA256Sum returns the hex-encoded SHA-256 hash of the entire contents of the pipe, or an error. Deprecated: SHA256Sum has been deprecated by [Pipe.Hash]. To get the SHA-256 hash for the contents of the pipe, call `Hash(sha256.new())`
()
| 875 | // Deprecated: SHA256Sum has been deprecated by [Pipe.Hash]. To get the SHA-256 |
| 876 | // hash for the contents of the pipe, call `Hash(sha256.new())` |
| 877 | func (p *Pipe) SHA256Sum() (string, error) { |
| 878 | return p.Hash(sha256.New()) |
| 879 | } |
| 880 | |
| 881 | // SHA256Sums reads paths from the pipe, one per line, and produces the |
| 882 | // hex-encoded SHA-256 hash of each corresponding file, one per line. Any files |