Files
llgo/_cmptest/md5demo/md5.go

15 lines
216 B
Go
Raw Normal View History

2024-07-30 01:35:49 +08:00
package main
import (
"crypto/md5"
"fmt"
"io"
)
func main() {
h := md5.New()
io.WriteString(h, "The fog is getting thicker!")
io.WriteString(h, "And Leon's getting laaarger!")
fmt.Printf("%x", h.Sum(nil))
}