15 lines
222 B
Go
15 lines
222 B
Go
package main
|
|
|
|
import (
|
|
"crypto/sha256"
|
|
"fmt"
|
|
"io"
|
|
)
|
|
|
|
func main() {
|
|
h := sha256.New()
|
|
io.WriteString(h, "The fog is getting thicker!")
|
|
io.WriteString(h, "And Leon's getting laaarger!")
|
|
fmt.Printf("%x", h.Sum(nil))
|
|
}
|