Typecoder

Typecoder

For programmers

00 : 00

Go Crypto [golang]

func generateDigest(email string, password string) string {
  h := sha256.New()
  h.Write([]byte(email + password))
  return hex.EncodeToString(h.Sum(nil))
}