package crypto import "crypto/sha256" func sha256Sum(s string) []byte { sum := sha256.Sum256([]byte(s)) return sum[:] }