remove hex assignment and just return the value directly from fmt.Sprintf

return fmt.Sprintf("%02x", hm.Sum(nil))