I’m new at Golang and familiar with java, and i want to understanding whats the code wanna do
At line 16 i understand that the code return md5 hash
But, can someone explain line 20 to me?
md5.Sum returns a [16]byte, but the example calls md5.New to create a hash.Hash and then calls Sum on that. Perhaps it was refactored from originally calling md5.Sum