Skip to content

Instantly share code, notes, and snippets.

View kewlamogh's full-sized avatar
☁️
learning AWS S3, Kinesis, and EC2

DaCool1 kewlamogh

☁️
learning AWS S3, Kinesis, and EC2
View GitHub Profile
@sergiotapia
sergiotapia / md5-example.go
Last active May 9, 2025 15:39
Golang - How to hash a string using MD5.
import (
"crypto/md5"
"encoding/hex"
)
func GetMD5Hash(text string) string {
hasher := md5.New()
hasher.Write([]byte(text))
return hex.EncodeToString(hasher.Sum(nil))
}