Sum
sum := md5.Sum([]byte("hello"))
fmt.Printf("%x\n", sum)
crypto/md5MD5 hashing. BROKEN for security use. Only for non-security checksums like ETags or dedup.
sum := md5.Sum([]byte("hello"))
fmt.Printf("%x\n", sum)
Legitimate uses: cache keys, ETags, file-level dedup where collisions are not adversarial. For literally anything security-related use SHA-256 or stronger.