Sum returns the MD5 checksum of the data.
package main import ( "crypto/md5" "fmt" ) func main() { data := []byte("These pretzels are making me thirsty.") fmt.Printf("%x", md5.Sum(data)) }