Re: [go-nuts] Newbie Struggling w/ Hashing

2016-09-19 Thread Jesse McNelis
On 20 Sep 2016 9:03 a.m., "Robert Solomon" wrote: > > FileReadBuffer := make([]byte,ReadBufferSize); > for { // Repeat Until eof loop. > n,err := TargetFile.Read(FileReadBuffer); > if n == 0 || err == io.EOF { break } > check(err," Unexpected error

[go-nuts] Newbie Struggling w/ Hashing

2016-09-19 Thread Robert Solomon
Hi. I'm trying to learn Go after many years of using a different language. My development machine runs Ubuntu 16.04 amd64, go 1.6.2 linux/amd I compared the output of the following code, and my output differs from the std utilities such as sha1sum, sha215sum, etc. I used