Constants
const BlockSize = 64const Size = 16
func Sum(data []byte) [Size]byte 返回数据data的MD5校验和
data := []byte("These pretzels are making me thirsty.")fmt.Printf("%x", md5.Sum(data))b0804ec967f48520697662a204f5fe72
func New() hash.Hash 返回一个新的使用MD5校验的hash.Hash接口
h := md5.New()io.WriteString(h, "The fog is getting thicker!")io.WriteString(h, "And Leon's getting laaarger!")fmt.Printf("%x", h.Sum(nil))e2c569be17396eca2a2e3c11578123ed
