November 2017
Intermediate to advanced
670 pages
17h 35m
English
The Hash interface from Go's standard library is composed of the io.Writer interface and four others. Therefore, Hash can be used anywhere the io.Writer interface is required:
type Hash interface { io.Writer Sum(b []byte) []byte Reset() Size() int BlockSize() int}